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
I messed up my ~/.grconfig.json (excess comma at end of a list due to deletion of last entry) and found the resulting error message to be not exactly informative.
Maybe this can be handled better, such that a (syntax) check is included and a useful "config messed up"-message can be shown.
gr git status
/usr/lib/node_modules/git-run/lib/command-requirements.js:8
if (gitCommand.stderr.toString().replace(/(\r\n|\n|\r)/gm, '').trim()) {
^
TypeError: Cannot read property 'toString' of null
at Object.git (/usr/lib/node_modules/git-run/lib/command-requirements.js:8:26)
at Object.module.exports [as handle] (/usr/lib/node_modules/git-run/plugins/run.js:29:38)
at next (/usr/lib/node_modules/git-run/index.js:244:11)
at next (/usr/lib/node_modules/git-run/index.js:227:14)
at next (/usr/lib/node_modules/git-run/index.js:227:14)
at next (/usr/lib/node_modules/git-run/index.js:227:14)
at next (/usr/lib/node_modules/git-run/index.js:227:14)
at next (/usr/lib/node_modules/git-run/index.js:227:14)
at next (/usr/lib/node_modules/git-run/index.js:227:14)
at next (/usr/lib/node_modules/git-run/index.js:227:14)
Thanks for this great piece of software!
The text was updated successfully, but these errors were encountered:
I messed up my ~/.grconfig.json (excess comma at end of a list due to deletion of last entry) and found the resulting error message to be not exactly informative.
Maybe this can be handled better, such that a (syntax) check is included and a useful "config messed up"-message can be shown.
Thanks for this great piece of software!
The text was updated successfully, but these errors were encountered: