mirror of https://github.com/embarklabs/embark.git
Fix FS to include Embark
This commit is contained in:
parent
edb8c99af3
commit
a65bbabd15
|
@ -12,8 +12,11 @@ const pathConfigs = {
|
|||
|
||||
function restrictPath(receiver, binding, count, args) {
|
||||
const dapp = dappPath();
|
||||
const embark = embarkPath();
|
||||
|
||||
const allowedRoots = [
|
||||
dapp,
|
||||
embark,
|
||||
os.tmpdir()
|
||||
];
|
||||
|
||||
|
@ -187,6 +190,7 @@ module.exports = {
|
|||
mkdirpSync,
|
||||
move,
|
||||
moveSync,
|
||||
outputFileSync,
|
||||
readFile,
|
||||
readFileSync,
|
||||
readJSONSync,
|
||||
|
|
Loading…
Reference in New Issue