Skip to content

Commit

Permalink
change git clone depth for appveyor to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
afinch7 committed May 28, 2019
1 parent 86bc27d commit d30c877
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ install:
# Clone the third_party submodule.
- ps: |-
try {
Exec { & git submodule update --init --force --depth 1 }
Exec { & git submodule update --init --force --recursive --depth 2 }
} catch {
# Git will fail if the `third_party` directory was restored from cache,
# but the `.git/modules` directory wasn't. Rebuild it from scratch.
Delete-Tree $env:DENO_THIRD_PARTY_PATH
Exec -NoNewLines { & git submodule update --init --force --depth 1 }
Exec -NoNewLines { & git submodule update --init --force --recursive --depth 2 }
}
# Configure depot_tools and add it to the search path. This is necessary
Expand Down

0 comments on commit d30c877

Please sign in to comment.