bump
This commit is contained in:
@@ -137,7 +137,7 @@ const command = new Command('deploy')
|
||||
version: version,
|
||||
});
|
||||
if (res2.code !== 200) {
|
||||
console.error(chalk.red('查询应用版本失败'), res2.message);
|
||||
console.error(chalk.red('查询应用版本失败'), res2.message, key);
|
||||
return;
|
||||
}
|
||||
// const { id, data, ...rest } = res.data?.app || {};
|
||||
@@ -253,8 +253,7 @@ const uploadFiles = async (files: string[], directory: string, opts: UploadFileO
|
||||
if (opts.noCheckAppFiles) {
|
||||
url.searchParams.append('noCheckAppFiles', 'true');
|
||||
}
|
||||
// return upload({ url: url, form: form, token: token });
|
||||
return { code: 200 };
|
||||
return upload({ url: url, form: form, token: token });
|
||||
};
|
||||
app.addCommand(command);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user