We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5c51eb commit 802f99bCopy full SHA for 802f99b
test/parallel/test-fs-copyfile.js
@@ -42,7 +42,7 @@ assert.throws(() => {
42
43
// Throws if the source does not exist.
44
assert.throws(() => {
45
- fs.copyFileSync(src + '__does_not_exist', dest, COPYFILE_EXCL);
+ fs.copyFileSync(`${src}__does_not_exist`, dest, COPYFILE_EXCL);
46
}, /^Error: ENOENT: no such file or directory, copyfile/);
47
48
// Copies asynchronously.
0 commit comments