refactor: propagate env
This commit is contained in:
parent
855999b3a1
commit
1e4c9fc85c
|
@ -25,7 +25,7 @@ exports.build = async ({cwd, packageManager = exports.inferPackageManager()}) =>
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
return args && processCode(spawnWith(args, {cwd}));
|
return args && processCode(spawnWith(args, {cwd, env: {FLECKS_CORE_ROOT: cwd}}));
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.add = async ({dev, packageManager = exports.inferPackageManager(), packages}) => {
|
exports.add = async ({dev, packageManager = exports.inferPackageManager(), packages}) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user