Skip to content

Commit 3d032ae

Browse files
committed
Added require os
1 parent 4ec7217 commit 3d032ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/utils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const logger = require('./logger');
2424
const Readable = require('stream').Readable;
2525
const rimraf = require('rimraf');
2626
const child_process = require('child_process');
27+
const os = require('os');
2728

2829
module.exports = {
2930
get: function(scope, prop, defaultValue){
@@ -132,4 +133,4 @@ module.exports = {
132133
sanitize: function(filePath){
133134
return filePath.replace(/(\/|\\)/g, "_");
134135
}
135-
};
136+
};

0 commit comments

Comments
 (0)