(path: string, values: Record<string, string>)
| 653 | }; |
| 654 | |
| 655 | const writeFlatAuthFile = (path: string, values: Record<string, string>): void => { |
| 656 | if (Object.keys(values).length === 0) return; |
| 657 | fs.mkdirSync(dirname(path), { recursive: true, mode: 0o700 }); |
| 658 | const tmp = `${path}.tmp`; |
| 659 | fs.writeFileSync(tmp, `${JSON.stringify(values, null, 2)}\n`, { mode: 0o600 }); |
| 660 | fs.renameSync(tmp, path); |
| 661 | }; |
| 662 | |
| 663 | const keychainBaseServiceName = (): string => |
| 664 | process.env.EXECUTOR_KEYCHAIN_SERVICE_NAME?.trim() || "executor"; |
no outgoing calls
no test coverage detected