create-tamagui 1.38.2 → 1.38.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -19719,7 +19719,9 @@ var cloneStarter = async (template, resolvedProjectPath, projectName) => {
|
|
|
19719
19719
|
async function setupTamaguiDotDir(template, isRetry = false) {
|
|
19720
19720
|
const repoRoot = (0, import_path.join)(__dirname, "..", "..", "..");
|
|
19721
19721
|
console.log(`Setting up ${import_chalk5.default.blueBright(targetGitDir)}...`);
|
|
19722
|
-
|
|
19722
|
+
if (IS_TEST) {
|
|
19723
|
+
cd(repoRoot);
|
|
19724
|
+
}
|
|
19723
19725
|
if (process.env.GITHUB_HEAD_REF) {
|
|
19724
19726
|
try {
|
|
19725
19727
|
await $`git switch -c ${process.env.GITHUB_HEAD_REF}`;
|