| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c5c51eb commit 802f99b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,7 +42,7 @@ assert.throws(() => { | |||
| 42 | 42 | ||
| 43 | 43 | // Throws if the source does not exist. | |
| 44 | 44 | assert.throws(() => { | |
| 45 | - fs.copyFileSync(src + '__does_not_exist', dest, COPYFILE_EXCL); | ||
| 45 | + fs.copyFileSync(`${src}__does_not_exist`, dest, COPYFILE_EXCL); | ||
| 46 | 46 | }, /^Error: ENOENT: no such file or directory, copyfile/); | |
| 47 | 47 | ||
| 48 | 48 | // Copies asynchronously. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments