mirror of
https://github.com/actions/checkout.git
synced 2025-07-12 08:40:45 +00:00
Add mock implementation for new function submoduleStatus
This commit is contained in:
parent
39cfb844ff
commit
d12863bffd
5 changed files with 10 additions and 0 deletions
|
@ -360,6 +360,7 @@ class GitCommandManager {
|
|||
|
||||
async submoduleStatus(): Promise<boolean> {
|
||||
const output = await this.execGit(['submodule', 'status'], true)
|
||||
core.debug(output.stdout)
|
||||
return output.exitCode === 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue