lib/msbuild.rb in dev_tasks-0.0.141 vs lib/msbuild.rb in dev_tasks-0.0.142
- old
+ new
@@ -30,10 +30,10 @@
end
def self.get_platforms(sln_filename)
platforms=Array.new
sln_text=File.read(sln_filename)
- sln_text.scan(/= [\w]+\|([\w]+)/).each{|m|
+ sln_text.scan(/= [\w]+\|([\w ]+)/).each{|m|
p=m.first.to_s
platforms << p if !platforms.include?(p)
}
return platforms
end
\ No newline at end of file