瀏覽代碼

Fastlane: version: Remove uncessesary parentheses

Soomin Lee 7 年之前
父節點
當前提交
0d7858985d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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