mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 14:34:40 +00:00
make fs.embarkPath more flexible
This commit is contained in:
parent
51ac4ddee8
commit
c60d26e258
@ -77,9 +77,8 @@ function removeSync() {
|
|||||||
return fs.removeSync.apply(fs.removeSync, arguments);
|
return fs.removeSync.apply(fs.removeSync, arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
// returns embarks root directory
|
function embarkPath() {
|
||||||
function embarkPath(fileOrDir) {
|
return utils.joinPath(__dirname, '/../../', ...arguments);
|
||||||
return utils.joinPath(__dirname, '/../../', fileOrDir);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function dappPath() {
|
function dappPath() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user