osdevisnot/klap

Unhandled child_process exception: init.js

Opened this issue ยท 1 comments

Line 11 throws an exception if .gitconfig has no github.username field, therefore line 12 never runs (or the rest of the program for that matter).

klap/src/init.js

Lines 10 to 15 in 2e9cc51

const gitInfo = () => {
let user = exec('git config github.username');
if (!user) user = exec('git config user.name');
let email = exec('git config user.email');
return { user, email };
};

๐ŸŽ‰ This issue has been resolved in version 3.6.2 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€