Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Suppress output of PlistBuddy when disabling "KeyboardContinuousPathEnabled" #16123

Merged
merged 1 commit into from Mar 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion fastlane_core/lib/fastlane_core/device_manager.rb
Expand Up @@ -223,7 +223,7 @@ def disable_slide_to_type
plist_buddy_cmd = "-c \"Add :KeyboardContinuousPathEnabled bool false\""
plist_path = File.expand_path("~/Library/Developer/CoreSimulator/Devices/#{self.udid}/data/Library/Preferences/com.apple.keyboard.ContinuousPath.plist")

Helper.backticks("#{plist_buddy} #{plist_buddy_cmd} #{plist_path}")
Helper.backticks("#{plist_buddy} #{plist_buddy_cmd} #{plist_path} >/dev/null 2>&1")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Helper.backticks("#{plist_buddy} #{plist_buddy_cmd} #{plist_path} >/dev/null 2>&1")
Helper.backticks("#{plist_buddy} #{plist_buddy_cmd} #{plist_path}", print: false)

This should also work if you want to try this 😊 ☝️

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, after trying this, because the output is an error it is still printed 😠

end
end
end
Expand Down