File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,13 @@ package main
22
33import (
44 "flag"
5+ "os"
6+ "strings"
7+
58 "github.com/cmuench/inotify-proxy/internal/config"
69 "github.com/cmuench/inotify-proxy/internal/util"
710 "github.com/cmuench/inotify-proxy/internal/watcher"
811 "github.com/gookit/color"
9- "os"
10- "strings"
1112)
1213
1314// Version defines the version of the application. This variable will be overridden by build system
@@ -75,7 +76,7 @@ func main() {
7576
7677 for _ , e := range c .Entries {
7778 color.Style {color .FgCyan , color .OpBold }.Printf ("Directory: %s\n " , e .Directory )
78- if * e .Profile != "" {
79+ if e .Profile != nil {
7980 color.Style {color .FgCyan , color .OpBold }.Printf ("Profile: %s\n " , * e .Profile )
8081 }
8182 if len (e .Extensions ) > 0 {
You can’t perform that action at this time.
0 commit comments