Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
fix(ci): patch undefined field reference
Browse files Browse the repository at this point in the history
  • Loading branch information
cdaringe committed Sep 14, 2017
1 parent 6940969 commit 7d8298b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci-post-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const semantic = () => {
return spawn('npm', ['run', 'semantic-release'], SPAWN_OPTS)
.catch(err => {
// @TODO debrittle-ify, as feasible.
if (!err.stderr || !err.stderr.toString().match(/ENOCHANGE/)) {
if (!err.stderr || (err.stderr && !err.stderr.toString().match(/ENOCHANGE/))) {
console.error(err.stderr.toString())
throw err
}
Expand Down

0 comments on commit 7d8298b

Please sign in to comment.