Skip to content

Commit

Permalink
docs: update git submodule update suggestion
Browse files Browse the repository at this point in the history
Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
  • Loading branch information
AtomicFS committed Dec 3, 2024
1 parent 53cd9e2 commit 0b40e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func run(ctx context.Context) error {
patterSub := regexp.MustCompile(`^\-[\d\w]* `)
slog.Warn(
"Git submodule seems to be uninitialized",
slog.String("suggestion", "run 'git submodule update --init --recursive'"),
slog.String("suggestion", "run 'git submodule update --depth 0 --init --recursive --checkout'"),
slog.String("offending_submodule", patterSub.ReplaceAllString(v, "")),
)
}
Expand Down

0 comments on commit 0b40e23

Please sign in to comment.