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
remoteOrigin.sync() works fine in a git repo but remoteOrigin.sync(process.cwd()) in the same repo throws the following error:
Error: EISDIR: illegal operation on a directory, read
at Error (native)
at Object.fs.readSync (fs.js:732:19)
at tryReadSync (fs.js:487:20)
at Object.fs.readFileSync (fs.js:535:19)
at Function.parseSync [as sync]
This does work however:
remoteOrigin.sync(`${process.cwd()}/.git/config`)
The text was updated successfully, but these errors were encountered:
remoteOrigin.sync()
works fine in a git repo butremoteOrigin.sync(process.cwd())
in the same repo throws the following error:This does work however:
The text was updated successfully, but these errors were encountered: