Skip to content

Commit

Permalink
Added require os
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Mar 1, 2019
1 parent 4ec7217 commit 3d032ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down Expand Up @@ -132,4 +133,4 @@ module.exports = {
sanitize: function(filePath){
return filePath.replace(/(\/|\\)/g, "_");
}
};
};

0 comments on commit 3d032ae

Please sign in to comment.