Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Feb 7, 2024
1 parent 6fe8e96 commit 48efe35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions scripts/src/meta/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ async function getSubrepoDirs(monorepoDir: string): Promise<string[]> {
}

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
Expand Down

0 comments on commit 48efe35

Please sign in to comment.