Skip to content

Commit

Permalink
Fix compilation of paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulyanov-programmer committed Jul 12, 2023
1 parent 116c741 commit 4c28c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async function convert(file, newFileFormat, options) {

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

return new Vinyl({
cwd: file.cwd,
Expand Down

0 comments on commit 4c28c1e

Please sign in to comment.