]> Nishi Git Mirror - aya.git/commitdiff
I keep inserting random bugs v1.0.1
authorIzuru Yakumo <yakumo.izuru@chaotic.ninja>
Tue, 12 Dec 2023 14:27:29 +0000 (11:27 -0300)
committerIzuru Yakumo <yakumo.izuru@chaotic.ninja>
Tue, 12 Dec 2023 14:27:29 +0000 (11:27 -0300)
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
cmd/aya/getvars.go
cmd/aya/main.go

index fc555292b042eec1a6da7abed5a4cf4d7a4121c1..ef5c8c038aec4b79f9d1367a8b522d822d5f40cd 100644 (file)
@@ -44,7 +44,7 @@ func getVars(path string, globals Vars) (Vars, string, error) {
                return v, s, nil
        } else {
                header := s[:sep]
-               body := s[sep+len(delim):1]
+               body := s[sep+len(delim):]
 
                vars := Vars{}
                if err := yaml.Unmarshal([]byte(header), &vars); err != nil {
index d4b95e46011fefeb3c2db733b248f10e5d14fac4..7a1b352295682670a4c15d2e08498a85e793575c 100644 (file)
@@ -1,4 +1,4 @@
-// $TheSupernovaDuo: marisa.chaotic.ninja/aya/cmd/aya, v1.0.0 2023-12-12 13:44:23+0000, yakumo_izuru Exp $
+// $TheSupernovaDuo: marisa.chaotic.ninja/aya/cmd/aya, v1.0.1 2023-12-12 14:27:02+0000, yakumo_izuru Exp $
 package main
 
 import (