Fix not specifying a target

ie. it should use whatever's detected
This commit is contained in:
David Baker 2021-07-07 21:38:09 +01:00
parent 79a426b1c0
commit d82377e2de

View File

@ -77,6 +77,7 @@ async function main() {
}
const hakEnvs = targetIds.map(tid => new HakEnv(prefix, packageJson, tid));
if (hakEnvs.length == 0) hakEnvs.push(new HakEnv(prefix, packageJson, null));
const hakEnv = hakEnvs[0];
const deps = {};