From d51e5d7cc02d9962eadcb35493d37000f677c7b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henr=C3=A9=20Botha?= Date: Mon, 19 Mar 2018 16:34:19 +0200 Subject: [PATCH] rubocop: fix file/directory style --- pages/osx/rubocop.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/osx/rubocop.md b/pages/osx/rubocop.md index d35dc7b4fe..439927331d 100644 --- a/pages/osx/rubocop.md +++ b/pages/osx/rubocop.md @@ -2,17 +2,17 @@ > Lint Ruby files. -- Check all files in the current directory: +- Check all files in the current directory (including subdirectories): `rubocop` -- Check specific files or directories: +- Check one or more specific files or directories: -`rubocop {{path_1}} {{path_2}}` +`rubocop /path/to/file /path/to/directory` - Write output to file: -`rubocop --out {{file}}` +`rubocop --out /path/to/file` - View list of cops: