Skip to content

Commit 4c28c1e

Browse files
Fix compilation of paths.
1 parent 116c741 commit 4c28c1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async function convert(file, newFileFormat, options) {
100100

101101
function toVinyl(buffer, newFileFormat, file) {
102102
let newFileName = file.basename.substr(0, file.basename.lastIndexOf(".")) + `.${newFileFormat}`
103-
let newFilePath = `${file.dirname}\\${newFileName}`
103+
let newFilePath = `${file.dirname}/${newFileName}`
104104

105105
return new Vinyl({
106106
cwd: file.cwd,

0 commit comments

Comments
 (0)