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
|
path.children
|
||||||
.reject(&:symlink?)
|
.reject(&:symlink?)
|
||||||
.select(&:file?)
|
.select(&:file?)
|
||||||
.map { |child| child.basename.to_s.sub(/\-\-.*/, "") }
|
.map { |child| child.basename.to_s }
|
||||||
|
.select { |basename| basename.include?("--") }
|
||||||
|
.map { |basename| basename.sub(/\-\-.*/, "") }
|
||||||
.uniq
|
.uniq
|
||||||
else
|
else
|
||||||
[]
|
[]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user