fix(commits): add helpful error when lastRelease not in history
Closes #61, Closes #50
This commit is contained in:
@@ -5,6 +5,10 @@ const rawCommits = [
|
||||
|
||||
module.exports = {
|
||||
exec: (command, cb) => {
|
||||
if (/contains/.test(command)) {
|
||||
return cb(null, `whatever\nmaster\n`)
|
||||
}
|
||||
|
||||
cb(
|
||||
null,
|
||||
/\.\.HEAD/.test(command) ?
|
||||
|
||||
Reference in New Issue
Block a user