Skip to content

Commit

Permalink
chore: Reduce message size for copyFile function
Browse files Browse the repository at this point in the history
  • Loading branch information
angelmadames committed Feb 27, 2024
1 parent 42f29b9 commit 8fac96d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/file-system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ export const copyFile = ({

if (isFile(source)) {
fs.copyFileSync(source, target, 0);
if (verbose)
log.success(`File: ${source} successfully copied to ${target}.`);
if (verbose) log.success(`File: ${source} copied to ${target}.`);
} else {
if (verbose) log.error('Source is not a valid file.');
process.exit(1);
Expand Down

0 comments on commit 8fac96d

Please sign in to comment.