corr
This commit is contained in:
parent
2c4643d355
commit
ec1ac7ff80
BIN
scut-latest.zip
BIN
scut-latest.zip
Binary file not shown.
@ -1 +1 @@
|
|||||||
130163078c145aa0ca4ca54f0ad6b8bf578d5fcd7766694048cd0169c6fa80ac scut-latest.zip
|
9e47bb0036eddd0391f5018caec3168c6324295daa31d7864c711d766f5bc0ca scut-latest.zip
|
||||||
|
5
scut.go
5
scut.go
@ -44,8 +44,6 @@ func getConfigScutDir() string {
|
|||||||
func loadConfig(dir string) Config {
|
func loadConfig(dir string) Config {
|
||||||
apps := []App{}
|
apps := []App{}
|
||||||
|
|
||||||
fmt.Println(dir)
|
|
||||||
|
|
||||||
// Ouvre le répertoire config
|
// Ouvre le répertoire config
|
||||||
files, err := ioutil.ReadDir(dir)
|
files, err := ioutil.ReadDir(dir)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -101,9 +99,6 @@ func main() {
|
|||||||
filter := flag.String("f", "", "Filter")
|
filter := flag.String("f", "", "Filter")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
// print config directory
|
|
||||||
fmt.Println(*configDir)
|
|
||||||
|
|
||||||
config := loadConfig(*configDir)
|
config := loadConfig(*configDir)
|
||||||
|
|
||||||
cleanFilter := strings.TrimFunc(*filter, func(r rune) bool {
|
cleanFilter := strings.TrimFunc(*filter, func(r rune) bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user