lib/jazzy/podspec_documenter.rb in jazzy-0.9.3 vs lib/jazzy/podspec_documenter.rb in jazzy-0.9.4
- old
+ new
@@ -26,10 +26,10 @@
.map(&:label)
targets.map do |t|
args = %W[doc --module-name #{podspec.module_name} -- -target #{t}]
swift_version = (config.swift_version || '4')[0] + '.0'
- args << "SWIFT_VERSION=\"#{swift_version}\""
+ args << "SWIFT_VERSION=#{swift_version}"
SourceKitten.run_sourcekitten(args)
end
end
stdout.reduce([]) { |a, s| a + JSON.parse(s) }.to_json
end