mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-10 22:16:20 +00:00
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…
x
Reference in New Issue
Block a user