Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
GeneratePreferences.rb: warning: Passing safe_level with the 2nd argu…
…ment of ERB.new is deprecated https://bugs.webkit.org/show_bug.cgi?id=236684 Reviewed by Yusuke Suzuki. With Ruby 3.1.0, GeneratePreferences.rb reported the following warnings. > GeneratePreferences.rb:235: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. > GeneratePreferences.rb:235: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. * Scripts/GeneratePreferences.rb: Changed to use the keyword argument for ERB.new. Canonical link: https://commits.webkit.org/247450@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@290104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information