Skip to content

Commit

Permalink
Merge pull request #490 from wwsno/run-lint-on-travis
Browse files Browse the repository at this point in the history
travis: add run lint step to travis configuration, in addition to run…
  • Loading branch information
dherault committed Sep 27, 2018
2 parents 2bd3afb + e6777fb commit 55fdc60
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -5,5 +5,8 @@ node_js:
- '6'
- '5'
- '4.3.2'
script:
- npm run lint
- npm test
notifications:
email: false
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -179,7 +179,7 @@ class Offline {
process.on('SIGTERM', () => resolve('SIGTERM'))
);

return Promise.race([waitForSigInt, waitForSigTerm]).then((command) => {
return Promise.race([waitForSigInt, waitForSigTerm]).then(command => {
this.serverlessLog(`Got ${command} signal. Offline Halting...`);
});
}
Expand Down

0 comments on commit 55fdc60

Please sign in to comment.