Skip to content
This repository was archived by the owner on Nov 8, 2021. It is now read-only.

Commit 662a5bf

Browse files
committed
create a test release v0.1.43
1 parent 3d85cff commit 662a5bf

2 files changed

Lines changed: 16 additions & 17 deletions

File tree

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ go 1.13
44

55
require (
66
github.com/briandowns/spinner v1.16.0
7-
github.com/scmn-dev/secman v0.0.0-20210507183205-8a23a96e5322
87
github.com/abdfnx/shell v0.3.15
98
)

v_checker.go

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
package checker
22

33
import (
4-
"fmt"
5-
"log"
4+
// "fmt"
5+
// "log"
66
"time"
7-
"runtime"
8-
"github.com/abdfnx/shell"
7+
// "runtime"
8+
// "github.com/abdfnx/shell"
99
"github.com/briandowns/spinner"
10-
commands "github.com/scmn-dev/secman/tools/constants"
10+
// commands "github.com/scmn-dev/secman/tools/constants"
1111
)
1212

1313
func Checker() {
1414
s := spinner.New(spinner.CharSets[11], 100*time.Millisecond)
1515
s.Suffix = " 🔍 Checking for updates..."
1616
s.Start()
1717

18-
err, out, errout := shell.ShellOut("")
18+
// err, out, errout := shell.ShellOut("")
1919

20-
if runtime.GOOS == "windows" {
21-
err, out, errout = shell.PWSLOut(commands.Check_w())
22-
} else {
23-
err, out, errout = shell.ShellOut(commands.Check_ml())
24-
}
20+
// if runtime.GOOS == "windows" {
21+
// err, out, errout = shell.PWSLOut(commands.Check_w())
22+
// } else {
23+
// err, out, errout = shell.ShellOut(commands.Check_ml())
24+
// }
2525

26-
if err != nil {
27-
log.Printf("error: %v\n", err)
28-
fmt.Print(errout)
29-
}
26+
// if err != nil {
27+
// log.Printf("error: %v\n", err)
28+
// fmt.Print(errout)
29+
// }
3030

3131
s.Stop()
32-
fmt.Print(out)
32+
// fmt.Print(out)
3333
}

0 commit comments

Comments
 (0)