Skip to content

Commit 9176dda

Browse files
committed
no need to check existance
1 parent ce87674 commit 9176dda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/py/reactpy/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ 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').resolve(),target_is_directory=True);\"",
114+
"python -c \"import pathlib as p;js=p.Path('js');js.symlink_to(p.Path('..','..','js').resolve(),target_is_directory=True);\"",
115115
"cd js && npm ci && npm run build; echo 'done'",
116116
]
117117
artifacts = ["js/app/dist/"]

0 commit comments

Comments
 (0)