Skip to content

Commit

Permalink
fix: allow spaces in file names
Browse files Browse the repository at this point in the history
no issue
  • Loading branch information
pociej committed May 14, 2024
1 parent 87d350c commit 8aadfff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/services/file/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const fileService = (
const results = await worker.context
?.beginBatch()
.uploadFile(`${DIR_NAME}${fileName}`, `/golem/workdir/${fileName}`)
.run(`/golem/scripts/clamscan-json.sh /golem/workdir/${fileName}`)
.run(`/golem/scripts/clamscan-json.sh "/golem/workdir/${fileName}"`)
.run(`cat /golem/output/temp/metadata.json`)
.end();
debugLog("file", "results", results);
Expand Down

0 comments on commit 8aadfff

Please sign in to comment.