lib/artifacts.rb in dev_tasks-0.0.32 vs lib/artifacts.rb in dev_tasks-0.0.33

- old
+ new

@@ -18,10 +18,10 @@ cs_dll = "#{outputPath}\\#{assemblyName}.dll".gsub("\\\\","\\").gsub('/','\\').gsub('\\','/') self[assemblyName]=cs_dll # add in file dependencies deps = Dependencies.get_dependencies_from_file p - if(deps.has_key?(:file)) + if(!deps.nil? && deps.has_key?(:file)) deps[:file].each {|d| # d include to directory from which it was referenced, Visual Studio copies this to # the location of cs_dll cs_dll_dep=d.gsub(File.dirname(d),File.dirname(cs_dll)).gsub('\\','/') \ No newline at end of file