Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
srijanshetty committed Dec 15, 2015
1 parent bd89356 commit 53d6111
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lib/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ module.exports.checkFiles = function() {
fs.writeFileSync(snippetsIndex, '[]');
}
catch(e) {
if ( e.code != 'EEXIST' ) throw e;
if ( e.code !== 'EEXIST' ) {
throw e;
}
}
}
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "snips-cli",
"version": "1.1.1",
"version": "1.1.2",
"description": "Gist backed commandline snippet utility",
"main": "app.js",
"scripts": {
Expand Down

0 comments on commit 53d6111

Please sign in to comment.