diff --git a/lib/core/fs.js b/lib/core/fs.js index 927632c7..ccfe40e1 100644 --- a/lib/core/fs.js +++ b/lib/core/fs.js @@ -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() {