Running fsh in a Windows Git Bash environment does not work.
Tested version: 1.3.353
Output:
$ fsh
/c/Program Files/nodejs/node_modules/@ibm-functions/shell/bin/fsh: line 43: /c/Program Files/nodejs/node_modules/@ibm-functions/shell/bin/../dist/IBM Cloud Functions Shell-mingw64_nt-10.0-x64/IBM Cloud Functions Shell: No such file or directory
Cause: In @ibm-functions/shell/bin/fsh script the PLATFORM variable has the value of "mingw64_nt-10.0" and the platform detection does not recognize it properly.
Running fsh in a Windows Git Bash environment does not work. Tested version: 1.3.353 Output:
Cause: In @ibm-functions/shell/bin/fsh script the PLATFORM variable has the value of "mingw64_nt-10.0" and the platform detection does not recognize it properly.
My fix (using example from https://stackoverflow.com/a/17072017/8731727): Replace
with