Skip to content

Commit 838ed3f

Browse files
author
Mitko-Kerezov
committed
Always grunt on prepublish
1 parent 7ebb270 commit 838ed3f

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

prepublish.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
var fs = require("fs");
2+
var grunt = require("grunt");
23

3-
var callback = function() { };
4+
var callback = function(err) {};
45

5-
if (!fs.existsSync("lib/ios-sim.js")) {
6-
var grunt = require("grunt");
7-
grunt.cli.tasks = ["ts:devlib"];
8-
grunt.cli(null, callback);
9-
} else {
10-
process.nextTick(callback);
11-
}
6+
grunt.cli.tasks = ["ts:devlib"];
7+
grunt.cli(null, callback);

0 commit comments

Comments
 (0)