Skip to content

Commit 2662cc9

Browse files
committed
Address review
1 parent 43730e0 commit 2662cc9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

omnibus/lib/project_extension.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def copy_file(source, destination)
299299
def staged_extra_package_source(source)
300300
base_dir = ENV["OMNIBUS_BASE_DIR"]
301301
source = source.to_s
302-
return source if base_dir.nil? || base_dir.empty? || !source.start_with?("/") || File.exist?(source)
302+
return source if base_dir.nil? || base_dir.empty? || !source.start_with?("/")
303303

304304
staged_source = File.join(base_dir, source.sub(%r{\A/+}, ""))
305305
File.exist?(staged_source) ? staged_source : source

0 commit comments

Comments
 (0)