1 parent 50bd32f commit 8b9e4b9Copy full SHA for 8b9e4b9
1 file changed
scripts/terrarium-install.ts
@@ -166,7 +166,7 @@ async function prepareRepo(ref: string): Promise<void> {
166
if (sourcePath && existsSync(join(sourcePath, "ansible", "site.yml"))) {
167
info(`syncing local Terrarium source from ${sourcePath}`);
168
syncLocalSourceRepo(sourcePath, REPO_DIR);
169
- } else if (existsSync(join(REPO_DIR, "ansible", "site.yml"))) {
+ } else if (existsSync(join(REPO_DIR, ".git"))) {
170
info(`updating existing checkout in ${REPO_DIR}`);
171
await $`git -C ${REPO_DIR} fetch --tags origin`;
172
await $`git -C ${REPO_DIR} checkout ${ref}`;
0 commit comments