From 10b3e943a1fd0e4606d4108f142d1e49cb8816bf Mon Sep 17 00:00:00 2001 From: Bram Borggreve Date: Thu, 26 Nov 2020 00:32:19 -0500 Subject: [PATCH] fix: use correct value for fetch-depth --- .github/workflows/build-test.yml | 2 +- packages/stack/src/schematics/api/schematic-api.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index c7013418..ec749b2b 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -33,7 +33,7 @@ jobs: steps: - uses: actions/checkout@v2 with: - fetch-depth: 2 + fetch-depth: 0 - uses: actions/cache@v2 with: path: '**/node_modules' diff --git a/packages/stack/src/schematics/api/schematic-api.ts b/packages/stack/src/schematics/api/schematic-api.ts index 5962d0c2..a54b4501 100644 --- a/packages/stack/src/schematics/api/schematic-api.ts +++ b/packages/stack/src/schematics/api/schematic-api.ts @@ -3,7 +3,7 @@ import { addDepsToPackageJson, ProjectType } from '@nrwl/workspace' import { addFiles, addRunScript, createDotEnv, normalizeOptions, removeFiles, uniq } from '../../utils' import { ApiSchematicSchema } from './schema' -export default function(options: ApiSchematicSchema): Rule { +export default function (options: ApiSchematicSchema): Rule { const name = options.name || 'api' const directory = options.directory || options.name const normalizedOptions = normalizeOptions({ ...options }, ProjectType.Application)