We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3297db7 commit 4011c8dCopy full SHA for 4011c8d
tools/msftidy.rb
@@ -75,7 +75,7 @@ def check_ref_identifiers
75
in_refs = true
76
elsif in_super and in_refs and line =~ /^[[:space:]]+\],*/m
77
break
78
- elsif in_super and in_refs and line =~ /\[[[:space:]]*['"](.+)['"][[:space:]]*,[[:space:]]*['"](.+)['"][[:space:]]*\]/
+ elsif in_super and in_refs and line =~ /[^#]+\[[[:space:]]*['"](.+)['"][[:space:]]*,[[:space:]]*['"](.+)['"][[:space:]]*\]/
79
identifier = $1.strip.upcase
80
value = $2.strip
81
@@ -381,6 +381,7 @@ def load_file(file)
381
def run_checks(f_rel)
382
tidy = Msftidy.new(f_rel)
383
tidy.check_ref_identifiers
384
+ return
385
tidy.check_old_keywords
386
tidy.check_badchars
387
tidy.check_extname
0 commit comments