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 ce8417e commit 38d6715Copy full SHA for 38d6715
package.py
@@ -770,8 +770,9 @@ def commands_step(path, commands):
770
_path = os.path.normpath(os.path.join(path, _path))
771
step("zip:embedded", _path, prefix)
772
elif len(c) == 2:
773
- prefix = None
774
_, _path = c
+ prefix = None
775
+ _path = os.path.normpath(_path)
776
777
elif len(c) == 1:
778
prefix = None
@@ -862,6 +863,7 @@ def commands_step(path, commands):
862
863
tmp_dir=claim.get("npm_tmp_dir"),
864
)
865
if path:
866
+ path = os.path.normpath(path)
867
step("zip", path, prefix)
868
if patterns:
869
# Take patterns into account when computing hash
0 commit comments