Skip to content

Commit

Permalink
fix solution 2
Browse files Browse the repository at this point in the history
  • Loading branch information
denys-kononenko committed Feb 23, 2024
1 parent 0eb8010 commit 63a2cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/customCopyFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const fs = require('fs');
const path = require('path');

const customCopyFile = (sourceFile, destinationFile) => {
if (sourceFile === undefined || destinationFile === undefined) {
if (destinationFile === undefined) {
process.stderr.write('should be 2 params');

return;
Expand Down

0 comments on commit 63a2cd0

Please sign in to comment.