Skip to content

Commit

Permalink
fix: use correct value for fetch-depth
Browse files Browse the repository at this point in the history
  • Loading branch information
beeman committed Nov 26, 2020
1 parent 8035ef3 commit 10b3e94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion packages/stack/src/schematics/api/schematic-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ApiSchematicSchema>({ ...options }, ProjectType.Application)
Expand Down

0 comments on commit 10b3e94

Please sign in to comment.