Skip to content

Commit

Permalink
Fix a build error
Browse files Browse the repository at this point in the history
Follow up of #7707.

This PR fixes the following build error.

```console
git diff --quiet manual
GIT_PAGER=cat git diff manual
diff --git a/manual/cops_naming.md b/manual/cops_naming.md
index 61b06e6e5..e0122b5eb 100644
--- a/manual/cops_naming.md
+++ b/manual/cops_naming.md
@@ -350,7 +350,7 @@ This cop can be configured with the
EnforcedStyleForLeadingUnderscores
 directive. It can be configured to allow for memoized instance
 variables
  prefixed with an underscore. Prefixing ivars with an underscore is a
   convention that is used to implicitly indicate that an ivar should
   not
   -be set or referenced outside of the memoization method.
   +be set or referencd outside of the memoization method.

 ### Examples

The manual directory is out of sync. Run `rake
generate_cops_documentation` and commit the results.

Exited with code exit status 1
```

https://circleci.com/gh/rubocop-hq/rubocop/85583
  • Loading branch information
koic committed Feb 12, 2020
1 parent d72591b commit 2ec092a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/naming/memoized_instance_variable_name.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module Naming
# directive. It can be configured to allow for memoized instance variables
# prefixed with an underscore. Prefixing ivars with an underscore is a
# convention that is used to implicitly indicate that an ivar should not
# be set or referencd outside of the memoization method.
# be set or referenced outside of the memoization method.
#
# @example EnforcedStyleForLeadingUnderscores: disallowed (default)
# # bad
Expand Down

0 comments on commit 2ec092a

Please sign in to comment.