mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 06:25:57 +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);
|
||||
}
|
||||
|
||||
// returns embarks root directory
|
||||
function embarkPath(fileOrDir) {
|
||||
return utils.joinPath(__dirname, '/../../', fileOrDir);
|
||||
function embarkPath() {
|
||||
return utils.joinPath(__dirname, '/../../', ...arguments);
|
||||
}
|
||||
|
||||
function dappPath() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user