Skip to content

Commit

Permalink
Merge pull request jesseduffield#1432 from black-desk/moved-submodule
Browse files Browse the repository at this point in the history
fix moved submodule
  • Loading branch information
mjarkk authored Aug 17, 2021
2 parents c878f34 + bb4fe26 commit 2eeff12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/commands/models/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (f *File) IsSubmodule(configs []*SubmoduleConfig) bool {

func (f *File) SubmoduleConfig(configs []*SubmoduleConfig) *SubmoduleConfig {
for _, config := range configs {
if f.Name == config.Name {
if f.Name == config.Path {
return config
}
}
Expand Down

0 comments on commit 2eeff12

Please sign in to comment.