chore(local-docker): guard tree in setupCommands; fallback to ls -la

This commit is contained in:
Frostebite
2025-09-05 19:14:25 +01:00
parent 2d7374bec4
commit 3570d40148
3 changed files with 6 additions and 4 deletions

View File

@@ -98,9 +98,11 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute,
)}" ] && [ -e "${CloudRunnerFolders.ToLinuxFolder(
path.join(CloudRunnerFolders.builderPathAbsolute, `.git`),
)}" ] ; then echo "Builder Already Exists!" && tree ${
)}" ] ; then echo "Builder Already Exists!" && (command -v tree > /dev/null 2>&1 && tree ${
CloudRunnerFolders.builderPathAbsolute
}; else ${commands} ; fi`;
} || ls -la ${
CloudRunnerFolders.builderPathAbsolute
}); else ${commands} ; fi`;
return `export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
${cloneBuilderCommands}