Skip to content

Commit 3962aa2

Browse files
(demo) fix
1 parent 0bba1f9 commit 3962aa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/demo.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222

2323
#!/bin/bash
2424
mkdir -p demo && \
25-
DEMO_LATEST_ID=$(node "await fetch('https://raw.just.is-a.dev/demo-id/').then(async resp => {return await resp.json()}).then(resp => {console.log(resp.latest)})") && \
25+
DEMO_LATEST_ID=$(node -e "await fetch('https://raw.just.is-a.dev/demo-id/').then(async resp => {return await resp.json()}).then(resp => {console.log(resp.latest)})") && \
2626
DEMO_BUILT_ID=$(node "src/demo.js" "$INPUT_FILES" "$DEMO_LATEST_ID") && \
27-
DEMO_NEW_ID=$(node "console.log($DEMO_LATEST_ID + 1)") && \
27+
DEMO_NEW_ID=$(node -e "console.log($DEMO_LATEST_ID + 1)") && \
2828
rm -f "just.config.js" && \
2929
echo "$INPUT_CONFIG" > just.config.js && \
3030
echo "id=id/$DEMO_BUILT_ID" >> $GITHUB_OUTPUT && \

0 commit comments

Comments
 (0)