Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With Parameters "sgc -t feat" is broken #95

Open
ace3 opened this issue Jul 31, 2020 · 3 comments
Open

With Parameters "sgc -t feat" is broken #95

ace3 opened this issue Jul 31, 2020 · 3 comments
Labels

Comments

@ace3
Copy link

ace3 commented Jul 31, 2020

Hello,
i tried to run the sgc with -t block, but it's spitting out errors
(node:6951) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'includes' of undefined at Object.when (/Users/ignasius/.nvm/versions/node/v12.18.2/lib/node_modules/semantic-git-commit-cli/dest/questions.js:86:46) at /Users/ignasius/.nvm/versions/node/v12.18.2/lib/node_modules/semantic-git-commit-cli/node_modules/run-async/index.js:49:25 at new Promise (<anonymous>) at /Users/ignasius/.nvm/versions/node/v12.18.2/lib/node_modules/semantic-git-commit-cli/node_modules/run-async/index.js:26:19 at /Users/ignasius/.nvm/versions/node/v12.18.2/lib/node_modules/semantic-git-commit-cli/node_modules/inquirer/lib/ui/prompt.js:130:32 at Observable._subscribe (/Users/ignasius/.nvm/versions/node/v12.18.2/lib/node_modules/semantic-git-commit-cli/node_modules/rxjs/internal/observable/defer.js:10:21) at Observable._trySubscribe (/Users/ignasius/.nvm/versions/node/v12.18.2/lib/node_modules/semantic-git-commit-cli/node_modules/rxjs/internal/Observable.js:44:25) at Observable.subscribe (/Users/ignasius/.nvm/versions/node/v12.18.2/lib/node_modules/semantic-git-commit-cli/node_modules/rxjs/internal/Observable.js:30:22) at Object.subscribeToResult (/Users/ignasius/.nvm/versions/node/v12.18.2/lib/node_modules/semantic-git-commit-cli/node_modules/rxjs/internal/util/subscribeToResult.js:12:23) at MergeMapSubscriber._innerSub (/Users/ignasius/.nvm/versions/node/v12.18.2/lib/node_modules/semantic-git-commit-cli/node_modules/rxjs/internal/operators/mergeMap.js:82:53) (node:6951) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) (node:6951) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

i'm using
nvm v0.35.3
node v12.18.2
npm v6.14.5

thanks.

@JPeer264
Copy link
Owner

JPeer264 commented Aug 5, 2020

Thanks for your issue. Do you have an own sgcrc configured? Or does this happen to you out of the box?

@ace3
Copy link
Author

ace3 commented Nov 9, 2020

sorry, it's been a while.

it's occured on both.
configured on macbook
non configured on mac.

@JPeer264 JPeer264 added the bug label Nov 9, 2020
@JPeer264
Copy link
Owner

JPeer264 commented Nov 9, 2020

Alright, thanks for the information. I will take a look into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants