docs: remove repeated words

This commit is contained in:
racerole 2024-03-14 01:12:39 +08:00 committed by GitHub
parent c7bfadd10a
commit 00fb847662
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -581,7 +581,7 @@ type DrivesResponse struct {
Drives []DriveResource `json:"value"`
}
// SiteResource is part of the response from from "/sites/root:"
// SiteResource is part of the response from "/sites/root:"
type SiteResource struct {
SiteID string `json:"id"`
SiteName string `json:"displayName"`

View File

@ -603,7 +603,7 @@ func (a *accountStream) SetStream(in io.Reader) {
a.in = in
}
// WrapStream wrap in in an accounter
// WrapStream wrap in an accounter
func (a *accountStream) WrapStream(in io.Reader) io.Reader {
return a.acc.WrapStream(in)
}

View File

@ -248,7 +248,7 @@ func makeConfigPath() string {
}
// No existing config file found, prepare proper default for a new one.
// But first check if if user supplied a --config variable or environment
// But first check if user supplied a --config variable or environment
// variable, since then we skip actually trying to create the default
// and report any errors related to it (we can't use pflag for this because
// it isn't initialised yet so we search the command line manually).