Skip to content

Commit

Permalink
solution
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekkosiba committed Jan 25, 2024
1 parent 32c0fd2 commit f820475
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 103 deletions.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function copyFiles(file, destination) {
}

fs.copyFile(filePath, destinationPath, (err) => {
throw new Error(err);
throw new Error('Error copying file:', err.message);
});
}

Expand Down
102 changes: 0 additions & 102 deletions tests/copyFiles.test.js

This file was deleted.

0 comments on commit f820475

Please sign in to comment.