Skip to content

Commit

Permalink
Merge pull request #746 from ChrisTorng/master
Browse files Browse the repository at this point in the history
JSCS: Undo #637 hack to remove xml item
  • Loading branch information
madskristensen committed Mar 8, 2014
2 parents 4df68a7 + 237c370 commit b745f8f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions EditorExtensions/Shared/Compilers/NodeExecutorBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,7 @@ private void ValidateResult(Process process, string outputFile, string errorText
{
try
{
if (process.ExitCode == 0 &&
/* Temporary hack see; //github.com/mdevils/node-jscs/issues/212 */
(!errorText.StartsWith("<?xml version=", StringComparison.CurrentCulture) ||
errorText == "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<checkstyle version=\"4.3\">\n</checkstyle>"))
if (process.ExitCode == 0)
{
if (!string.IsNullOrEmpty(outputFile))
result.Result = File.ReadAllText(outputFile);
Expand Down

0 comments on commit b745f8f

Please sign in to comment.