Skip to content

Commit

Permalink
fix: improve prescan for windows it github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
starpit committed Apr 12, 2023
1 parent a6ec1ce commit b0ee4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/builder/bin/prescan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if [ -z "$KUI_PRESCAN" ]; then
fi

echo "compiling plugin registry $CLIENT_HOME to ${KUI_PRESCAN-default location}"
MAIN=$(node -e "console.log(require(\"$CLIENT_HOME/package.json\").main)")
MAIN=$(node -e "console.log(require(\"$SCRIPTDIR/../../package.json\").main)")
MAIN_PROXY=$(echo "$MAIN" | sed -E 's/\.min\.js/-proxy.min.js/')
if [ -f "$MAIN" ]
then KUI_HEADLESS=true node "$MAIN" -- kui internal scan
Expand Down

0 comments on commit b0ee4c7

Please sign in to comment.