Skip to content

Commit

Permalink
fixed files form Closure #59
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent 7d1705d commit f7e66fc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ public void initOptions(CompilerOptions options) {
CheckLevel.OFF);
}

if (options.checkGlobalThisLevel.isOn()) {
if (options.checkGlobalThisLevel.isOn() &&
!options.disables(DiagnosticGroups.GLOBAL_THIS)) {
options.setWarningLevel(
DiagnosticGroups.GLOBAL_THIS,
options.checkGlobalThisLevel);
Expand Down

0 comments on commit f7e66fc

Please sign in to comment.