Skip to content

Commit b34746f

Browse files
Merge pull request #53 from pyscript/issue-51
Fix #51 - Default empty strings to `./`
2 parents 85f61b6 + bfab6e2 commit b34746f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/core.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/core.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esm/interpreter/_utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const calculateFilesPaths = files => {
150150
}
151151
else {
152152
const url = parseTemplate(source, map);
153-
const path = fillName(url, parseTemplate(dest, map));
153+
const path = fillName(url, parseTemplate(dest || './', map));
154154
if (targets.has(path))
155155
throw new SyntaxError(`Duplicated destination: ${path}`);
156156
targets.add(path);

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,6 @@
7171
"html-escaper": "^3.0.3"
7272
},
7373
"worker": {
74-
"blob": "sha256-OHYVqYaMc7x/7emaT0QXD2uRDdZ3gulKX60rGVxOh7g="
74+
"blob": "sha256-xGArLSJr40wTgAn6eZ7sGIKJMD8yVtiKjA/5Dr6ZbBc="
7575
}
7676
}

0 commit comments

Comments
 (0)