branch: elpa/rubocop
commit c2959fbf9dfb457fdb0a3e4ff042b7cb41a457a4
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Fix a docstring
---
rubocop.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rubocop.el b/rubocop.el
index 38e67dd..c4c9ea2 100644
--- a/rubocop.el
+++ b/rubocop.el
@@ -82,7 +82,8 @@ The current directory is assumed to be the project's root
otherwise."
(concat "*RuboCop " file-or-dir "*"))
(defun rubocop-build-command (command path)
- "Compose the full command to be run, prefixing with `bundle exec` if rubocop
is bundled"
+ "Build the full command to be run based on COMMAND and PATH.
+The command will be prefixed with `bundle exec` if RuboCop is bundled."
(concat (if (rubocop-bundled-p) "bundle exec " "") command " " path))
(defun rubocop--dir-command (command &optional directory)