diff options
Diffstat (limited to 'src/core.go')
| -rw-r--r-- | src/core.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core.go b/src/core.go index 35a143fe..aaf1cf0d 100644 --- a/src/core.go +++ b/src/core.go @@ -379,7 +379,8 @@ func Run(opts *Options) (int, error) { // Change nth and clear caches nth = *val.nth patternCache = make(map[string]*Pattern) - inputRevision.bumpMajor() + cache.Clear() + inputRevision.bumpMinor() } if command != nil { useSnapshot = val.sync |
