mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-18 10:41:20 -08:00
优化npm脚本
This commit is contained in:
1 parent
2e994ae82f
commit
57d862f25c
3 files changed
+3
-3
No files matched your search
@@ -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