Skip to content

Commit ce87674

Browse files
committed
try resolve first
1 parent d416357 commit ce87674

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/py/reactpy/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ artifacts = ["js"]
111111
out_dir = "reactpy/_static"
112112
commands = [
113113
# link the js directory if it doesn't exist - use Python to avoid platform differences
114-
"python -c \"import pathlib as p;js=p.Path('js');js.exists() or js.symlink_to(p.Path('..','..','js'),target_is_directory=True);\"",
115-
"ls -l js && cd js && npm ci && npm run build; echo 'done'",
114+
"python -c \"import pathlib as p;js=p.Path('js');js.exists() or js.symlink_to(p.Path('..','..','js').resolve(),target_is_directory=True);\"",
115+
"cd js && npm ci && npm run build; echo 'done'",
116116
]
117117
artifacts = ["js/app/dist/"]
118118

0 commit comments

Comments
 (0)