Fix boogs

This commit is contained in:
Dan Kaplun 2015-03-30 20:14:03 -04:00
parent 342a57584b
commit 2b49f26fb1
2 changed files with 5 additions and 3 deletions

View File

@ -90,6 +90,7 @@ Editor.prototype.open = Promise.method(function (path) {
switch ((err.cause || err).code) {
case 'EACCES':
self.slap.header.message(err.message, 'error');
break;
default: throw err;
}
});

View File

@ -3,15 +3,15 @@
"version": "0.1.16",
"description": "Sublime-like terminal-based text editor",
"preferGlobal": true,
"main": "index.js",
"main": "lib/cli.js",
"bin": {
"slap": "./index.js"
},
"scripts": {
"start": "./index.js",
"cover": "istanbul cover ./index.js",
"debug": "node-debug ./index.js",
"test": "test/index.js"
"test": "test/index.js",
"cover": "istanbul cover test/index.js"
},
"repository": {
"type": "git",
@ -42,6 +42,7 @@
"get-random-port": "0.0.1",
"istanbul": "^0.3.5",
"node-inspector": "^0.8.3",
"npm": "^2.7.4",
"tape": "^2.12.3",
"through2": "^0.6.3"
}