From 3d032ae2813644ff591ecca759c5a91b8172586c Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Fri, 1 Mar 2019 02:02:03 +0000 Subject: [PATCH] Added require os --- libs/utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/utils.js b/libs/utils.js index f93d171..4c9743d 100644 --- a/libs/utils.js +++ b/libs/utils.js @@ -24,6 +24,7 @@ const logger = require('./logger'); const Readable = require('stream').Readable; const rimraf = require('rimraf'); const child_process = require('child_process'); +const os = require('os'); module.exports = { get: function(scope, prop, defaultValue){ @@ -132,4 +133,4 @@ module.exports = { sanitize: function(filePath){ return filePath.replace(/(\/|\\)/g, "_"); } -}; \ No newline at end of file +};