mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 18:37:24 +00:00
test(plugins): pin the catalog repo's initial branch in the CLI install test
The test reads the catalog at ref master but created it with plain git init, so it failed wherever init.defaultBranch is main (e.g. Xcode's git on macOS).
This commit is contained in:
@@ -292,7 +292,7 @@ describe('orca plugin install and update over Git', () => {
|
||||
const catalog = join(root, 'catalog')
|
||||
const moved = join(root, 'moved-locale')
|
||||
await mkdir(catalog, { recursive: true })
|
||||
await git(catalog, ['init', '--quiet'])
|
||||
await git(catalog, ['init', '--quiet', '--initial-branch=master'])
|
||||
const listCatalog = (url: string, tag: string) =>
|
||||
commitTag(
|
||||
catalog,
|
||||
|
||||
Reference in New Issue
Block a user