mirror of
https://github.com/joho/godotenv.git
synced 2025-10-26 18:45:47 +00:00
Fix typo in hasQuotePrefix return variable (#251)
Corrected the spelling of the return variable from 'isQuored' to 'isQuoted' in the hasQuotePrefix function.
This commit is contained in:
@ -212,7 +212,7 @@ func indexOfNonSpaceChar(src []byte) int {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// hasQuotePrefix reports whether charset starts with single or double quote and returns quote character
|
// hasQuotePrefix reports whether charset starts with single or double quote and returns quote character
|
||||||
func hasQuotePrefix(src []byte) (prefix byte, isQuored bool) {
|
func hasQuotePrefix(src []byte) (prefix byte, isQuoted bool) {
|
||||||
if len(src) == 0 {
|
if len(src) == 0 {
|
||||||
return 0, false
|
return 0, false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user