mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
优化npm脚本
This commit is contained in:
1 parent
2e994ae82f
commit
57d862f25c
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -18,7 +18,7 @@ function build(projectPath) {
|
||||
})
|
||||
.then(bundle => {
|
||||
bundle.write(output);
|
||||
logger.success('finished building all bundles');
|
||||
logger.success(`finished building all bundles from ${projectPath}`);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ module.exports = (opts = {}) => ({
|
||||
|
||||
if (opts.from && opts.to) {
|
||||
cpy(opts.from, opts.to).then(() => {
|
||||
logger.success(`Successfully copied to: ${opts.to}`);
|
||||
logger.success(`${opts.from} successfully copied to ${opts.to}`);
|
||||
}).catch(() => {
|
||||
logger.fatal('File copy failed!');
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user