Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export async function writeUpdateConfig(dir: string, config: UpdateConfig): Promise {
await writeJson(path.resolve(dir, UPDATE_CONFIG_FILE), config, { spaces: 2 });
}