Skip to content

Commit 4c2837e

Browse files
authored
Merge pull request #84 from SpringRoll/main
Main
2 parents 8438e5a + 3635fba commit 4c2837e

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.2.1] - 2025-03-13
8+
9+
- Switch error count check in FileLinter.js to properly check for any error reports
10+
711
## [2.2.0] - 2024-10-16
812
- Linter now errors on loose equalities, var for variable definition, and for...of loops [ticket](https://www.pivotaltracker.com/story/show/188211631)
913

package-lock.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "springroll-automated-qa",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "An automated QA tool for SpringRoll games",
55
"main": "src/index.js",
66
"bin": {

src/tools/FileLinter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async function run(path, config, logResults = false) {
5454
console.log(results.reports.join('\n'));
5555
}
5656

57-
if (report.errorCount === 0) {
57+
if (results.reports.length === 0) {
5858
return results;
5959
} else {
6060
throw results;

0 commit comments

Comments
 (0)