aboutsummaryrefslogtreecommitdiff
path: root/lib/compile-handler.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compile-handler.js')
-rw-r--r--lib/compile-handler.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compile-handler.js b/lib/compile-handler.js
index f2f567b0c..0e506ea0f 100644
--- a/lib/compile-handler.js
+++ b/lib/compile-handler.js
@@ -27,7 +27,7 @@ var child_process = require('child_process'),
fs = require('fs'),
path = require('path'),
httpProxy = require('http-proxy'),
- Promise = require('promise'), // jshint ignore:line
+ denodeify = require('denodeify'),
quote = require('shell-quote'),
_ = require('underscore-node'),
logger = require('./logger').logger,
@@ -61,7 +61,7 @@ function CompileHandler(gccProps, compilerProps) {
this.compilerEnv = new CompilationEnvironment(gccProps, compilerProps);
initialise(gccProps, this.compilerEnv);
this.factories = {};
- this.stat = Promise.denodeify(fs.stat);
+ this.stat = denodeify(fs.stat);
this.create = function (compiler) {
var type = compiler.compilerType || "default";