Skip to content

Commit 74f9b8a

Browse files
Merge pull request #2143 from Abirdcfly/master
2 parents 25c4aa5 + d78d694 commit 74f9b8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/commands/models/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func (f *File) Names() []string {
4444
return result
4545
}
4646

47-
// returns true if the file names are the same or if a a file rename includes the filename of the other
47+
// returns true if the file names are the same or if a file rename includes the filename of the other
4848
func (f *File) Matches(f2 *File) bool {
4949
return utils.StringArraysOverlap(f.Names(), f2.Names())
5050
}

pkg/commands/oscommands/cmd_obj_runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func (self *cmdObjRunner) runWithCredentialHandling(cmdObj ICmdObj) error {
147147
promptFn = failPromptFn
148148
case NONE:
149149
// we should never land here
150-
return errors.New("runWithCredentialHandling called but cmdObj does not have a a credential strategy")
150+
return errors.New("runWithCredentialHandling called but cmdObj does not have a credential strategy")
151151
}
152152

153153
return self.runAndDetectCredentialRequest(cmdObj, promptFn)

0 commit comments

Comments
 (0)