Prechádzať zdrojové kódy

Fastlane: version: Remove uncessesary parentheses

Soomin Lee 7 rokov pred
rodič
commit
0d7858985d
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      fastlane/helpers/version.rb

+ 1 - 1
fastlane/helpers/version.rb

@@ -8,5 +8,5 @@ end
 
 def increment_build_number_in_plist(plist_path)
   build_number = `xcrun /usr/libexec/PlistBuddy -c "Print CFBundleVersion" "#{plist_path}"`
-  `/usr/libexec/PlistBuddy -c "Set :CFBundleVersion #{build_number.next.strip()}" "#{plist_path}"`
+  `/usr/libexec/PlistBuddy -c "Set :CFBundleVersion #{build_number.next.strip}" "#{plist_path}"`
 end