mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix env method in CordovaProject
This commit is contained in:
8
tools/cordova/project.js
vendored
8
tools/cordova/project.js
vendored
@@ -61,9 +61,11 @@ export default class CordovaProject {
|
||||
return { silent: !Console.verbose, verbose: Console.verbose };
|
||||
}
|
||||
|
||||
env(extraPaths) {
|
||||
const paths = (this.defaultPaths || []).unshift(extraPaths);
|
||||
return files.currentEnvWithPathsAdded(paths);
|
||||
env(...extraPaths) {
|
||||
let paths = (this.defaultPaths || []);
|
||||
paths.unshift(...extraPaths);
|
||||
const env = files.currentEnvWithPathsAdded(paths);
|
||||
return env;
|
||||
}
|
||||
|
||||
get defaultPaths() {
|
||||
|
||||
Reference in New Issue
Block a user