Merge pull request #229 from vector-im/dbkr/fix_default_target

Fix not specifying a target
This commit is contained in:
David Baker 2021-07-08 09:18:06 +01:00 committed by GitHub
commit fac9f53bb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 = {};