Skip to content

Commit

Permalink
Brace deprecation notice shouldn't apply to /ex
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 15, 2020
1 parent 40e1d6e commit 32dd8b8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ public static List<BracedData> getBracedCommands(ScriptEntry scriptEntry, boolea
return null;
}

Deprecations.oldBraceSyntax.warn(scriptEntry);
if (scriptEntry.getScript() != null) { // Ex command is temporarily allowed to bypass, to avoid annoying user testing
Deprecations.oldBraceSyntax.warn(scriptEntry);
}

int tStart = -1;
int tEnd = -1;
Expand Down

0 comments on commit 32dd8b8

Please sign in to comment.