Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
tonievictor committed Apr 3, 2024
1 parent 11f1cd5 commit cac9100
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ git checkout -b <feature-or-fix-name>
```
4. **Make Changes**: Implement your fixture or fix and make sure the tests pass.
5. **Run Tests**: Ensure that your changes pass the existing tests. If you added new features, consider adding tests.
> There's also an opportunity to further improve and expand the existing test suite.
>
```bash
// Add your tests in this directory ./tests/. Please, ensure to follow existing patterns where possible.

Expand All @@ -22,7 +22,7 @@ go test ./tests/
```
git add .
git commit -m "Add feature or fix"
git push origin feature-or-fix-name
git push -u origin feature-or-fix-name
```
7. **Create a Pull Request**: Open a pull request on the original repository with a clear title and description of your changes.

Expand Down
2 changes: 1 addition & 1 deletion loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func Config(params ...interface{}) (map[string]string, error) {

if len(params) == 0 {
filename = ".env"
logger = log.New(os.Stderr, "dotenv", log.LstdFlags)
logger = log.New(os.Stderr, "dotenv:", log.LstdFlags)
}

envVars, err := load(filename)
Expand Down
1 change: 1 addition & 0 deletions sample.env
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
MY_ENV_KEY=value
MY_SECOND_KEY="second value"

0 comments on commit cac9100

Please sign in to comment.