Skip to content

Commit a96e084

Browse files
Update components/pdf4me/common/utils.mjs
Co-authored-by: Jorge Cortes <[email protected]>
1 parent 1f2a7a5 commit a96e084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/pdf4me/common/utils.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from "fs";
22

33
function normalizeFilePath(path) {
4-
return path.includes("tmp/")
4+
return path.startsWith("/tmp/")
55
? path
66
: `/tmp/${path}`;
77
}

0 commit comments

Comments
 (0)