This commit is contained in:
Dan Milne
2025-01-21 13:48:52 +11:00
parent b59ac53e4b
commit 5e05567309

View File

@@ -95,7 +95,7 @@ module Picopackage
file = argv.first
source_file = SourceFile.from_file(file)
begin
Fetch.fetch(source_file.url, path, force: options[:force])
Fetch.fetch(source_file.url, File.dirname(file), force: options[:force])
rescue LocalModificationError => e
puts "Error: #{e.message}"
rescue => e