diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f1a3d4037..3acfbdfc0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,6 +47,9 @@ jobs: node-version: [18, 20] os: [ubuntu-latest, macos-latest, windows-2019] runs-on: ${{ matrix.os }} + defaults: + run: + shell: bash steps: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 @@ -79,7 +82,7 @@ jobs: run: | git config --global user.name "" git config --global user.email "" - + - name: Install dependencies run: yarn --frozen-lockfile diff --git a/packages/cli/src/commands/init/createGitRepository.ts b/packages/cli/src/commands/init/createGitRepository.ts index f3b193b34..057ba98f5 100644 --- a/packages/cli/src/commands/init/createGitRepository.ts +++ b/packages/cli/src/commands/init/createGitRepository.ts @@ -56,6 +56,7 @@ const createGitRepository = async (folder: string) => { ); loader.succeed(); } catch (e) { + console.log(e); loader.fail( 'Could not create an empty Git repository, see debug logs with --verbose', );