Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions refresh/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ type Configuration struct {
IgnoredFolders []string `yaml:"ignored_folders"`
IncludedExtensions []string `yaml:"included_extensions"`
LogName string `yaml:"log_name"`
DisableRun bool `yaml:"disable_run"`
Debug bool `yaml:"-"`
Path string `yaml:"-"`
Stderr io.Writer `yaml:"-"`
Expand Down
4 changes: 3 additions & 1 deletion refresh/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ func (r *Manager) Start() error {
}
}
}()
r.runner()
if !r.DisableRun {
r.runner()
}
return nil
}

Expand Down