@mecha.im/cli 0.3.6 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agent/dashboard/package.json +1 -1
- package/dist/src/cli.js +1 -1
- package/dist/src/docker.js +1 -1
- package/package.json +1 -1
package/dist/src/cli.js
CHANGED
package/dist/src/docker.js
CHANGED
|
@@ -142,7 +142,7 @@ async function spawnUnlocked(config, botPath, opts) {
|
|
|
142
142
|
writeFileSync(costsPath, "{}\n");
|
|
143
143
|
}
|
|
144
144
|
const configPath = join(resolvedPath, "bot.yaml");
|
|
145
|
-
writeFileSync(configPath, stringifyYaml(config), { mode:
|
|
145
|
+
writeFileSync(configPath, stringifyYaml(config), { mode: 0o644 });
|
|
146
146
|
const botToken = "mecha_" + randomBytes(24).toString("hex");
|
|
147
147
|
const binds = buildBinds(resolvedPath, configPath, config);
|
|
148
148
|
const env = await buildContainerEnv(config, botToken);
|