immediate crash on attempt run from cli
GeorgeWL opened this issue · comments
markdown-toc-generator --file=O2-Qr-Generator.md
At C:\Users\George\AppData\Local\Yarn\bin\markdown-t
oc-generator.ps1:5 char:13
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
+ ~
Unexpected token ')' in expression or statement.
At C:\Users\George\AppData\Local\Yarn\bin\markdown-t
oc-generator.ps1:8 char:3
+ if [ -x "$basedir/pwsh" ]; then
+ ~
Missing '(' after 'if' in if statement.
At C:\Users\George\AppData\Local\Yarn\bin\markdown-t
oc-generator.ps1:8 char:5
+ if [ -x "$basedir/pwsh" ]; then
+ ~
Missing type name after '['.
At C:\Users\George\AppData\Local\Yarn\bin\markdown-t
oc-generator.ps1:9 char:20
+ ... edir/pwsh" "$basedir/../Data/global/node_modu
les/.bin/markdown-toc-g ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token '"$basedir/../Data/global/node_modu
les/.bin/markdown-toc-generator.ps1"' in expression
or statement.
At C:\Users\George\AppData\Local\Yarn\bin\markdown-t
oc-generator.ps1:9 char:91
+ ... dir/../Data/global/node_modules/.bin/markdown-
toc-generator.ps1" "$@"
+
~~~~
Unexpected token '"$@"' in expression or statement.
+ CategoryInfo : ParserError: (:) [],
ParseException
+ FullyQualifiedErrorId : UnexpectedToken