puppet-lint-resource_reference_syntax 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2c9b547c7179f11801466217feb28053ec79461
|
4
|
+
data.tar.gz: c046aa713f3de786f7f53fd34a8e007dfa7e7fe2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56a390b2f5c651075ed771b329a3f20443e39cedc0355f4645ee4dc72a6904fd2e6840e74fe524608be4aeba4131c1601c718abb3de5db2ab619577a89233d89
|
7
|
+
data.tar.gz: 69c78d3c37e39483bc67f3b9e7088d60511188378b0ebfec55c6790ee7a183982652d54473ef50293a808c9558a39f4f6b62c4012b351a8691001e6669573b7e
|
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'pry'
|
2
1
|
PuppetLint.new_check(:resource_reference_without_whitespace) do
|
3
2
|
def check
|
4
3
|
resource_indexes.each do |resource|
|
@@ -8,7 +7,6 @@ PuppetLint.new_check(:resource_reference_without_whitespace) do
|
|
8
7
|
check = param_token
|
9
8
|
case check.type
|
10
9
|
when :CLASSREF
|
11
|
-
# binding.pry
|
12
10
|
begin
|
13
11
|
if check.next_token.type == :WHITESPACE and check.next_code_token.type == :LBRACK
|
14
12
|
notify :error, {
|