Skip to content

Commit 38cd675

Browse files
committed
Remove unused private method
The private method is_module_package? was only ever referenced by code that was removed in 2014 by 3f05274. Because this method is both private and not referenced anywhere else in the code base, this commit removes the is_module_package? method.
1 parent 775592c commit 38cd675

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/puppet/module_tool/applications/installer.rb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -395,18 +395,6 @@ def resolve_install_conflicts(graph, is_dependency = false)
395395
end
396396
end
397397
end
398-
399-
#
400-
# Check if a file is a vaild module package.
401-
# ---
402-
# FIXME: Checking for a valid module package should be more robust and
403-
# use the actual metadata contained in the package. 03132012 - Hightower
404-
# +++
405-
#
406-
def is_module_package?(name)
407-
filename = File.expand_path(name)
408-
filename =~ /.tar.gz$/
409-
end
410398
end
411399
end
412400
end

0 commit comments

Comments
 (0)