( configPath: string, authConfig: AuthConfig )
| 184 | } |
| 185 | |
| 186 | export function writeAuthConfigFile( |
| 187 | configPath: string, |
| 188 | authConfig: AuthConfig |
| 189 | ): void { |
| 190 | if (authConfig.skipWrite) { |
| 191 | return; |
| 192 | } |
| 193 | |
| 194 | writeConfigFile(configPath, authConfigSchema, authConfig, { |
| 195 | mode: 0o600, |
| 196 | }); |
| 197 | } |
| 198 | |
| 199 | export function writeAuthConfig( |
| 200 | configDir: string, |
no test coverage detected