fix(env_loader): Off by one error (#668)

This commit is contained in:
Finn R. Gärtner
2022-07-13 11:33:32 +02:00
committed by GitHub
parent 64c93a0569
commit 2769c74c74

View File

@@ -363,7 +363,7 @@ pub const Lexer = struct {
},
' ' => {
// Set key end to the last non space character
key_end = this.current - 1;
key_end = this.current;
this.step();
while (this.codepoint() == ' ') this.step();
continue;