@sonar-autofix/core 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -139,8 +139,9 @@ class CoreOrchestrator {
|
|
|
139
139
|
fixedInIteration++;
|
|
140
140
|
console.log(` ✓ ${filePath} fixed successfully`);
|
|
141
141
|
} else {
|
|
142
|
-
console.log(` ✗ ${filePath} could not be fixed
|
|
142
|
+
console.log(` ✗ ${filePath} could not be fixed`);
|
|
143
143
|
if (!this.dryRun && this.restoreOnFail) {
|
|
144
|
+
console.log(` ✗ ${filePath} could not be fixed — restoring original`);
|
|
144
145
|
await this.gitClient.restoreFile(filePath);
|
|
145
146
|
}
|
|
146
147
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sonar-autofix/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Core orchestrator for the Sonar Autofix tool",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"author": "Sonar Autofix Team",
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@sonar-autofix/sonar-client": "^0.0.
|
|
18
|
+
"@sonar-autofix/sonar-client": "^0.0.3",
|
|
19
19
|
"@sonar-autofix/llm-client": "^0.0.2",
|
|
20
20
|
"@sonar-autofix/git-client": "^0.0.1"
|
|
21
21
|
}
|