Bug fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user