diff --git a/lib/dist.js b/lib/dist.js index 6565a4d..5997b73 100644 --- a/lib/dist.js +++ b/lib/dist.js @@ -6,6 +6,10 @@ var os = require('os'), _ = require('underscore'), config = require('./config'); +if (typeof os.tmpDir != 'function') { + os.tmpDir = os.tmpdir; +} + exports.isInstalled = function (cmp, dst, o) { if (cmp.type === 'widget') {