Skip to content

Commit

Permalink
fix: zsyncmake crashing when filename contains $
Browse files Browse the repository at this point in the history
  • Loading branch information
Dahlgren committed Oct 18, 2024
1 parent 6cf2be0 commit 6bebc74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/zsync/zsyncmake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function checkPath(file: Path) {
}

function getCmdLine(publicURL: string, rootPath: Path, file: Path): string {
return `zsyncmake -eu "${publicURL}${file}" -o "${rootPath}${file}.zsync" "${rootPath}${file}"`;
return `zsyncmake -eu '${publicURL}${file}' -o '${rootPath}${file}.zsync' '${rootPath}${file}'`;
}

export async function zsyncmake(file: Path): Promise<void> {
Expand Down

0 comments on commit 6bebc74

Please sign in to comment.