rubocop 1.34.0 → 1.34.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubocop/feature_loader.rb +3 -1
- data/lib/rubocop/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11dc3da37672d6576b483ea0d39db975af0044d4c960fa14944fadac1d6f5bd5
|
4
|
+
data.tar.gz: e37200a88a516b923c5c86149de704eec9147f8f35a96df30ced1a0892be8ab4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42deab573616fd15dfee978f2009b2dafc17b4bb0cf7528c0e0a26f415bad22ede108980403c6036b0b84d28b72981b3862b915a608495bc368935c1bc1ea18b
|
7
|
+
data.tar.gz: 5afa69eeccbcf3ead2bb51f2feaf4dcd81420fa08b0b17b372909647d7b4b559fe1d76d376fec271c7b9d2e8f1ee1cb586075d9a461d5894c1263854fa6f2eea
|
@@ -30,7 +30,9 @@ module RuboCop
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def load
|
33
|
-
|
33
|
+
# Don't use `::Kernel.require(target)` to prevent the following error:
|
34
|
+
# https://github.com/rubocop/rubocop/issues/10893
|
35
|
+
require(target)
|
34
36
|
rescue ::LoadError => e
|
35
37
|
raise if e.path != target
|
36
38
|
|
data/lib/rubocop/version.rb
CHANGED