Skip to content

Commit 56b2607

Browse files
committed
this func is not needed as of now
Signed-off-by: nikhil2611 <[email protected]>
1 parent 267c67c commit 56b2607

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

lib/chef-cli/helpers.rb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -153,17 +153,17 @@ def omnibus_env
153153
end
154154
end
155155

156-
def get_pkg_prefix
157-
pkg_origin = "chef"
158-
pkg_name = "#{pkg_origin}/chef-cli" # Your origin and package name
159-
path = `hab pkg path #{pkg_name}`.strip
160-
161-
if $?.success? && !path.empty?
162-
path
163-
else
164-
raise "Failed to get pkg_prefix for #{pkg_name}: #{path}"
165-
end
166-
end
156+
# def get_pkg_prefix
157+
# pkg_origin = "chef"
158+
# pkg_name = "#{pkg_origin}/chef-cli" # Your origin and package name
159+
# path = `hab pkg path #{pkg_name}`.strip
160+
161+
# if $?.success? && !path.empty?
162+
# path
163+
# else
164+
# raise "Failed to get pkg_prefix for #{pkg_name}: #{path}"
165+
# end
166+
# end
167167

168168
def omnibus_expand_path(*paths)
169169
dir = File.expand_path(File.join(paths))

0 commit comments

Comments
 (0)