Merge pull request #4787 from reitermarkus/fix-update
Only migrate cache files containing `--`.
This commit is contained in:
commit
0853fe14b2
@ -85,7 +85,9 @@ module UpdateMigrator
|
||||
path.children
|
||||
.reject(&:symlink?)
|
||||
.select(&:file?)
|
||||
.map { |child| child.basename.to_s.sub(/\-\-.*/, "") }
|
||||
.map { |child| child.basename.to_s }
|
||||
.select { |basename| basename.include?("--") }
|
||||
.map { |basename| basename.sub(/\-\-.*/, "") }
|
||||
.uniq
|
||||
else
|
||||
[]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user