(cwd: string)
| 40 | // Hash suffix disambiguates same-basename folders so two projects with |
| 41 | // identical directory names cannot collide on the same tenant id. |
| 42 | const makeTenantId = (cwd: string): string => { |
| 43 | const folder = basename(cwd) || cwd; |
| 44 | const hash = createHash("sha256").update(cwd).digest("hex").slice(0, 8); |
| 45 | return `${folder}-${hash}`; |
| 46 | }; |
| 47 | |
| 48 | const resolvePluginConfigPath = (scopeDir: string): string => join(scopeDir, "executor.jsonc"); |
| 49 |
no test coverage detected