diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6c1b9cd..51832f7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,7 +12,7 @@ git checkout -b ``` 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. @@ -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. diff --git a/loader.go b/loader.go index f92adc1..a85702d 100644 --- a/loader.go +++ b/loader.go @@ -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) diff --git a/sample.env b/sample.env index 173b4fc..13a3b8c 100644 --- a/sample.env +++ b/sample.env @@ -1 +1,2 @@ MY_ENV_KEY=value +MY_SECOND_KEY="second value"