lib/lock_jar/resolver.rb in lock_jar-0.3.0 vs lib/lock_jar/resolver.rb in lock_jar-0.3.1
- old
+ new
@@ -57,10 +57,10 @@
if @naether.nil?
jars << Naether::JAR_PATH
@naether = Naether.create_from_jars( jars )
end
- @naether.local_repo_path = opts[:local_repo] if opts[:local_repo]
+ @naether.local_repo_path = opts[:local_repo].to_s if opts[:local_repo]
@naether.clear_remote_repositories if opts[:offline]
end
\ No newline at end of file