Skip to content

Commit

Permalink
fix: throw error if it's not a SyntaxError
Browse files Browse the repository at this point in the history
  • Loading branch information
adelkahomolova committed Sep 30, 2019
1 parent f44e100 commit 3644149
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export class JsPackageJsonConfigurationSetCorrectlyPractice implements IPractice
if (error instanceof SyntaxError) {
return PracticeEvaluationResult.unknown;
}
throw error;
}
}

Expand Down

0 comments on commit 3644149

Please sign in to comment.