Skip to content

Commit df1bc3a

Browse files
committed
fix: npm run open script is broken
1 parent 37edea8 commit df1bc3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/codeflare

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ if [ "$do_cli" = "1" ]; then
132132
# --experimental-specifier-resolution=node --no-warnings --experimental-import-meta-resolve \
133133
# "$HEADLESS"/../../node_modules/madwizard/bin/madwizard.js \
134134
# $*
135-
else
135+
elif [ $# -gt 0 ]; then
136136
# tell the command handlers to run in UI mode
137137
EXTRAPREFIX="$EXTRAPREFIX -u"
138138
fi

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"postinstall": "npm run compile",
3636
"format": "prettier --write '**/*.{scss,css,html,js,json,md,ts,tsx}'",
3737
"lint": "eslint . --ext '**/*.{js,ts,tsx}'",
38-
"open": "./bin/codeflare shell",
38+
"open": "./bin/codeflare -u",
3939
"start": "WATCH_ARGS='-open' npm run watch",
4040
"mirror": "cross-env rm -rf tmp && git clone --depth=1 https://github.com/guidebooks/store.git tmp/store && cross-env madwizard mirror tmp/store/guidebooks ./store && rm -rf tmp",
4141
"mirror-if-needed": "if [ ! -d ./store ]; then npm run mirror; fi",

0 commit comments

Comments
 (0)