Update defaults

This commit is contained in:
Chris Hunt
2024-08-13 11:05:25 +01:00
parent 5278b3914d
commit 687738b75b
3 changed files with 17 additions and 6 deletions

View File

@@ -67,9 +67,14 @@ glob("**/workspace.json", async function (err, files) {
contact_url: nextConfig.env.contactUrl || null,
modified: Date.now(),
workspaces: workspaces,
channels: [...channels]
channels: [...channels],
default_channel: 'develop'
};
if (channels.size === 0) {
json.default_channel = null
}
let data = JSON.stringify(json);
fs.writeFileSync(dir + "/list.json", data);