Skip to content

Commit

Permalink
Merge branch 'detailed-result'
Browse files Browse the repository at this point in the history
  • Loading branch information
ExactlyNoSense committed Mar 2, 2021
2 parents d33166c + 146546b commit 111360d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ Changelog
_Note: Gaps between patch versions are faulty, broken or test releases._

## v1.3.2 (2021-03-02)

#### :rocket: New Feature

* Improved information about found errors

## v1.3.1 (2020-11-06)

#### :house: Internal
Expand Down
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,8 @@ for (let i = 0; i < result.length; i++) {
}

if (totalErrors > maxErrors) {
log.setFailed(`Errors found: ${totalErrors}`);
log.setFailed(`Errors found: ${totalErrors}${maxErrors > 0 ? `. Errors allowed: ${maxErrors}` : ''}`);

} else if (maxErrors > 0) {
log.warning(`Errors found: ${totalErrors}. Errors allowed: ${maxErrors}`);
}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@v4fire/typescript-check",
"version": "1.3.1",
"version": "1.3.2",
"description": "Tool to check typescript errors",
"homepage": "https://github.com/v4fire/typescriptCheck#readme",
"main": "index.js",
Expand Down

0 comments on commit 111360d

Please sign in to comment.