Skip to content

Commit

Permalink
style: spelling and grammar fixes (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
scop authored Feb 21, 2022
1 parent 5e6e6f6 commit b684867
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ An example:
docs: Add example for --release-notes flag
I added an example to the docs of the `--release-notes` flag to make
the usage more clear. The example is an realistic use case and might
the usage more clear. The example is a realistic use case and might
help others to generate their own changelog.
See #284
Expand Down
2 changes: 1 addition & 1 deletion apk/apk.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func ensureValidArch(info *nfpm.Info) *nfpm.Info {
// nolint: gochecknoglobals
var Default = &Apk{}

// Apk is a apk packager implementation.
// Apk is an apk packager implementation.
type Apk struct{}

func (a *Apk) ConventionalFileName(info *nfpm.Info) string {
Expand Down
2 changes: 1 addition & 1 deletion internal/sign/pgp.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func PGPArmoredDetachSignWithKeyID(message io.Reader, keyFile, passphrase string
return signature.Bytes(), nil
}

// PGPVerify is exported for use in tests and verifies a ASCII-armored or non-ASCII-armored
// PGPVerify is exported for use in tests and verifies an ASCII-armored or non-ASCII-armored
// signature using an ASCII-armored or non-ASCII-armored public key file. The signer
// identity is not explicitly checked, other that the obvious fact that the signer's key must
// be in the armoredPubKeyFile.
Expand Down
2 changes: 1 addition & 1 deletion nfpm.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ func Validate(info *Info) (err error) {
if len(info.EmptyFolders) > 0 {
deprecation.Println("'empty_folders' is deprecated and " +
"will be removed in a future version, create content with type 'dir' and " +
"directoy name as 'dst' instead")
"directory name as 'dst' instead")

for _, emptyFolder := range info.EmptyFolders {
if contents.ContainsDestination(emptyFolder) {
Expand Down
2 changes: 1 addition & 1 deletion rpm/rpm.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func addChangeLog(info *nfpm.Info, rpm *rpmpack.RPM) error {

err := tpl.Execute(&formattedNotes, entry)
if err != nil {
return fmt.Errorf("formatting changlog notes: %w", err)
return fmt.Errorf("formatting changelog notes: %w", err)
}

changes[idx] = strings.TrimSpace(formattedNotes.String())
Expand Down
4 changes: 2 additions & 2 deletions www/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ scripts:
preremove: ./scripts/preremove.sh
postremove: ./scripts/postremove.sh

# All fields above marked as `overridable` can be overriden for a given package format in this section.
# All fields above marked as `overridable` can be overridden for a given package format in this section.
overrides:
# The depends override can for example be used to provide version constraints for dependencies where
# different package formats use different versions or for dependencies that are named differently.
Expand Down Expand Up @@ -271,7 +271,7 @@ deb:

# Custom deb triggers
triggers:
# register interrest on a trigger activated by another package
# register interest on a trigger activated by another package
# (also available: interest_await, interest_noawait)
interest:
- some-trigger-name
Expand Down
2 changes: 1 addition & 1 deletion www/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ nFPM is a simple, 0-dependencies, `deb`, `rpm` and `apk` packager.
## Why

While [fpm][] is great, for me, it is a bummer that it depends on `ruby`, `tar`
and other softwares.
and other software.

I wanted something that could be used as a binary and/or as a library and that
was really simple.
Expand Down
2 changes: 1 addition & 1 deletion www/docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ go install github.com/goreleaser/nfpm/v2/cmd/nfpm@latest

Download the pre-compiled binaries from the [releases page][releases] and copy them to the desired location.

## Veryifing the artifacts
## Verifying the artifacts

### binaries

Expand Down

0 comments on commit b684867

Please sign in to comment.