diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 83b8adfda..8f48e3dc4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,9 +58,6 @@ jobs: - name: Install global NPM packages run: npm i --global purescript@0.15.10 spago@next purs-tidy@latest esbuild@latest - - run: echo "$(npm prefix -g)" >> $GITHUB_PATH - - run: echo "$GITHUB_PATH" - - name: Cache PureScript dependencies uses: actions/cache@v2 with: diff --git a/src/Spago/Cmd.purs b/src/Spago/Cmd.purs index 17c0487e1..25fbbe334 100644 --- a/src/Spago/Cmd.purs +++ b/src/Spago/Cmd.purs @@ -118,7 +118,7 @@ getExecutable command = Right r -> pure { cmd: cmd1, output: r.stdout } Left err' -> do let cmd2 = mkCmd command Nothing - logDebug [ "Failed to find purs.cmd. Trying with just purs...", show err' ] + logDebug [ "Failed to find ", command, ".cmd. Trying with just purs...", show err' ] askVersion cmd2 >>= case _ of Right r -> pure { cmd: cmd2, output: r.stdout } Left err -> complain err