repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
1fc495d
parent
f08fc05
author
Eric Bower
date
2023-08-17 16:44:49 +0000 UTC
fix: lint
1 files changed,  +2, -2
M pgs/cli.go
+2, -2
 1@@ -215,7 +215,7 @@ func (c *Cmd) depends(projectName string) error {
 2 }
 3 
 4 // delete all the projects and associated assets matching prefix
 5-// but keep the latest N records
 6+// but keep the latest N records.
 7 func (c *Cmd) prune(prefix string, keepNumLatest int) error {
 8 	c.log.Infof("user (%s) running `clean` command for (%s)", c.user.Name, prefix)
 9 	if prefix == "" || prefix == "*" {
10@@ -312,7 +312,7 @@ func (c *Cmd) bail(err error) {
11 
12 func (c *Cmd) notice() {
13 	if !c.write {
14-		out := fmt.Sprintf("\nNOTICE: changes not commited, use `--write` to save operation\n")
15+		out := "\nNOTICE: changes not commited, use `--write` to save operation\n"
16 		_, _ = c.session.Write([]byte(out))
17 	}
18 }