You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The path created to the git repo folder for checking its status uses an explicit backslash instead of path.join() which causes it to throw an error on MacOS:
/path/to/repo/node_modules/ts-fix/dist/index.js:90
throw new Error(err.message);
^
Error: Command failed: git --git-dir="/path/to/repo\.git" --work-tree="/path/to/repo" status --porcelain
fatal: not a git repository: '/path/to/repo\.git'
at /path/to/repo/node_modules/ts-fix/dist/index.js:90:19
at ChildProcess.exithandler (node:child_process:404:5)
at ChildProcess.emit (node:events:390:28)
at maybeClose (node:internal/child_process:1064:16)
at Socket.<anonymous> (node:internal/child_process:450:11)
at Socket.emit (node:events:390:28)
at Pipe.<anonymous> (node:net:687:12)
The path created to the git repo folder for checking its status uses an explicit backslash instead of
path.join()
which causes it to throw an error on MacOS:The path is generated here.
This happens even with the
--ignoreGitStatus
flag.The text was updated successfully, but these errors were encountered: