We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22cdcd4 commit 4e1f6f4Copy full SHA for 4e1f6f4
inotify-proxy.go
@@ -2,12 +2,13 @@ package main
2
3
import (
4
"flag"
5
+ "os"
6
+ "strings"
7
+
8
"github.com/cmuench/inotify-proxy/internal/config"
9
"github.com/cmuench/inotify-proxy/internal/util"
10
"github.com/cmuench/inotify-proxy/internal/watcher"
11
"github.com/gookit/color"
- "os"
- "strings"
12
)
13
14
var Version = "dev"
@@ -74,7 +75,7 @@ func main() {
74
75
76
for _, e := range c.Entries {
77
color.Style{color.FgCyan, color.OpBold}.Printf("Directory: %s\n", e.Directory)
- if *e.Profile != "" {
78
+ if e.Profile != nil {
79
color.Style{color.FgCyan, color.OpBold}.Printf("Profile: %s\n", *e.Profile)
80
}
81
if len(e.Extensions) > 0 {
0 commit comments