Commit de080b31 authored by Jamie Tanna's avatar Jamie Tanna

Fix: `sed --in-place` for fixing Rubocop word delims

parent f5821435
Pipeline #18746513 passed with stages
in 13 minutes and 20 seconds
...@@ -22,5 +22,5 @@ For most cases, you will be able to perform one of the following commands: ...@@ -22,5 +22,5 @@ For most cases, you will be able to perform one of the following commands:
# use Rubocop's automagic autocorrect, if possible # use Rubocop's automagic autocorrect, if possible
rubocop --auto-correct rubocop --auto-correct
# or fall back to a search and replace # or fall back to a search and replace
find . -iname "*.rb" -exec sed 's/%w(\([^)]*\))/%w[\1]/g' {} \; find . -iname "*.rb" -exec sed -i 's/%w(\([^)]*\))/%w[\1]/g' {} \;
``` ```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment