From 48efe35eaccb460238fa8ef8314b4e8d43593e7a Mon Sep 17 00:00:00 2001 From: Adam Shaw Date: Wed, 7 Feb 2024 17:49:00 -0500 Subject: [PATCH] more debug --- .github/workflows/ci.yml | 2 +- scripts/src/meta/utils.ts | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1f5b30c7..d9353a638 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: run: | source ./scripts/git-subrepo/.rc echo "PATH:$PATH" - git subrepo version + git-subrepo version - name: Setup PNPM uses: pnpm/action-setup@v2.2.4 diff --git a/scripts/src/meta/utils.ts b/scripts/src/meta/utils.ts index 76936d5a2..e8e7ac137 100644 --- a/scripts/src/meta/utils.ts +++ b/scripts/src/meta/utils.ts @@ -18,6 +18,11 @@ async function getSubrepoDirs(monorepoDir: string): Promise { } async function getSubrepos(monorepoDir: string) { + console.log() + console.log('DEBUG: getSubrepos') + console.log(process.env.PATH) + console.log() + const s: string = await execCapture(['git-subrepo', 'status', '--all'], { cwd: monorepoDir }) const sections = s.split(/^(?=\S)/m) // split by non-indented starting line