We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f2a7a5 commit a96e084Copy full SHA for a96e084
components/pdf4me/common/utils.mjs
@@ -1,7 +1,7 @@
1
import fs from "fs";
2
3
function normalizeFilePath(path) {
4
- return path.includes("tmp/")
+ return path.startsWith("/tmp/")
5
? path
6
: `/tmp/${path}`;
7
}
0 commit comments