From d2e8a4c02ef0b19e3a576494c801a4c61c8eb92c Mon Sep 17 00:00:00 2001 From: Roel van Uden Date: Sat, 7 Feb 2015 13:29:10 +0100 Subject: [PATCH] Update ts.js --- ts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts.js b/ts.js index 8ccfaa5..f257fc4 100644 --- a/ts.js +++ b/ts.js @@ -48,7 +48,7 @@ function clean(filePaths, done) { * @param {function(Error)} done */ function compile(filePaths, done) { - if (isTest) return done(null); + if (isTest) return done(null); var execPath = path.join(__dirname, 'node_modules/.bin/tsc'); var options = '--declaration --module CommonJS --noImplicitAny --outDir dist'; childProcess.exec([execPath, options].concat(filePaths).join(' '), function(err, stdout) { @@ -89,4 +89,4 @@ function read(done) { var filePaths = []; while ((matches = expression.exec(contents))) filePaths.push(matches[1]); done(null, filePaths); -} \ No newline at end of file +}