Skip to content

Commit

Permalink
Appease Go 1.19 gofmt
Browse files Browse the repository at this point in the history
Fix a "accoding" comment typo while at it.
  • Loading branch information
scop committed Jan 2, 2023
1 parent f265a7f commit 440d9ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions internal/cmd/cmd_dotenv.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import (
// CmdDotEnv is `direnv dotenv [SHELL [PATH_TO_DOTENV]]`
// Transforms a .env file to evaluatable `export KEY=PAIR` statements.
//
// See: https://github.com/bkeepers/dotenv and
// https://github.com/ddollar/foreman
// See: https://github.com/bkeepers/dotenv and https://github.com/ddollar/foreman
var CmdDotEnv = &Cmd{
Name: "dotenv",
Desc: "Transforms a .env file to evaluatable `export KEY=PAIR` statements",
Expand Down
3 changes: 1 addition & 2 deletions internal/cmd/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ type Env map[string]string
// key->values which is more handy to work with.
//
// NOTE: We don't support having two variables with the same name.
// I've never seen it used in the wild but accoding to POSIX
// it's allowed.
// I've never seen it used in the wild but according to POSIX it's allowed.
func GetEnv() Env {
env := make(Env)

Expand Down

0 comments on commit 440d9ea

Please sign in to comment.