Skip to content

Commit 606b208

Browse files
committed
style: change isToml to isTOML
1 parent e123837 commit 606b208

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/pago/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ func getPassword(agentExecutable string, agentExpire time.Duration, agentMemlock
360360
return "", err
361361
}
362362

363-
isToml := strings.HasPrefix(content, "# TOML")
364-
if !isToml {
363+
isTOML := strings.HasPrefix(content, "# TOML")
364+
if !isTOML {
365365
if key != "" {
366366
return "", fmt.Errorf("entry %q is not a TOML entry; cannot use --key", name)
367367
}

0 commit comments

Comments
 (0)