(name: string, content: string, secret = false)
| 47 | await fs.rm(dir, { recursive: true, force: true }); |
| 48 | await fs.mkdir(dir, { recursive: true }); |
| 49 | } |
| 50 | } else { |
| 51 | await fs.mkdir(dir, { recursive: true }); |
| 52 | } |
| 53 | |
| 54 | const written: string[] = []; |
| 55 | // secret=true -> mode 0o600. The secret-bearing files: engine.env carries the |
| 56 | // provider keys + web-search key, a custom component's <name>.env may carry its |
| 57 | // own, and <name>-secrets.json is the resource-credential doc. The |
no outgoing calls
no test coverage detected