mirror of
https://github.com/actions/checkout.git
synced 2025-07-17 20:18:26 +02:00
build dist
This commit is contained in:
parent
819730283a
commit
220570c515
1 changed files with 1 additions and 1 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -666,7 +666,7 @@ class GitCommandManager {
|
|||
if (options.shallowSince) {
|
||||
args.push(`--shallow-since=${options.shallowSince}`);
|
||||
}
|
||||
else if (options.fetchDepth && options.fetchDepth > 0) {
|
||||
if (options.fetchDepth && options.fetchDepth > 0) {
|
||||
args.push(`--depth=${options.fetchDepth}`);
|
||||
}
|
||||
else if (fshelper.fileExistsSync(path.join(this.workingDirectory, '.git', 'shallow'))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue