summaryrefslogtreecommitdiff
path: root/app/finders/packages
diff options
context:
space:
mode:
Diffstat (limited to 'app/finders/packages')
-rw-r--r--app/finders/packages/package_file_finder.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/app/finders/packages/package_file_finder.rb b/app/finders/packages/package_file_finder.rb
index 55dc4be2001..786302d65b1 100644
--- a/app/finders/packages/package_file_finder.rb
+++ b/app/finders/packages/package_file_finder.rb
@@ -19,13 +19,7 @@ class Packages::PackageFileFinder
private
def package_files
- files = if Feature.enabled?(:packages_installable_package_files, default_enabled: :yaml)
- package.installable_package_files
- else
- package.package_files
- end
-
- by_file_name(files)
+ by_file_name(package.installable_package_files)
end
def by_file_name(files)