Skip to content

Commit

Permalink
chore(tsfmt): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vvakame committed Jun 28, 2015
1 parent bec27f0 commit ac7f787
Show file tree
Hide file tree
Showing 7 changed files with 636 additions and 362 deletions.
13 changes: 9 additions & 4 deletions dtsm.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,23 @@
],
"path": "typings",
"bundle": "typings/bundle.d.ts",
"link": {
"npm": {
"include": true
}
},
"dependencies": {
"node/node.d.ts": {
"ref": "575d70adcad0086ec8c6f672a5eb569a4689486c"
"ref": "6f04d25ad38982d372cc3cda62fa4c0eef9e24d7"
},
"es6-promise/es6-promise.d.ts": {
"ref": "575d70adcad0086ec8c6f672a5eb569a4689486c"
"ref": "6f04d25ad38982d372cc3cda62fa4c0eef9e24d7"
},
"mocha/mocha.d.ts": {
"ref": "575d70adcad0086ec8c6f672a5eb569a4689486c"
"ref": "6f04d25ad38982d372cc3cda62fa4c0eef9e24d7"
},
"power-assert/power-assert.d.ts": {
"ref": "575d70adcad0086ec8c6f672a5eb569a4689486c"
"ref": "6f04d25ad38982d372cc3cda62fa4c0eef9e24d7"
}
}
}
4 changes: 2 additions & 2 deletions lib/cli.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/// <reference path="../typings/node/node.d.ts" />
/// <reference path="../typings/es6-promise/es6-promise.d.ts" />
/// <reference path="../node_modules/commandpost/commandpost.d.ts" />

require("es6-promise").polyfill();
Expand Down Expand Up @@ -82,7 +81,7 @@ commandpost
.exec(root, process.argv)
.catch(errorHandler);

function errorHandler(err:any) {
function errorHandler(err:any): Promise<any> {
"use strict";

if (err instanceof Error) {
Expand All @@ -92,5 +91,6 @@ function errorHandler(err:any) {
}
return Promise.resolve(null).then(()=> {
process.exit(1);
return null;
});
}
1 change: 1 addition & 0 deletions lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference path="../typings/node/node.d.ts" />
/// <reference path="../node_modules/typescript/bin/typescript.d.ts" />
/// <reference path="../node_modules/typescript/bin/lib.es6.d.ts" />

"use strict";

Expand Down
Loading

0 comments on commit ac7f787

Please sign in to comment.