diff --git a/packages/code-analyzer-core/output-templates/html-template-0.0.13.txt b/packages/code-analyzer-core/output-templates/html-template-0.0.14.txt similarity index 99% rename from packages/code-analyzer-core/output-templates/html-template-0.0.13.txt rename to packages/code-analyzer-core/output-templates/html-template-0.0.14.txt index 0f11ea30..2366bf0c 100644 --- a/packages/code-analyzer-core/output-templates/html-template-0.0.13.txt +++ b/packages/code-analyzer-core/output-templates/html-template-0.0.14.txt @@ -237,8 +237,16 @@ ); } getLocation(violation) { - const position = this.getPosition(violation); - return `
{{###RUNDIR###}}
diff --git a/packages/code-analyzer-core/package.json b/packages/code-analyzer-core/package.json
index dc2d3695..b77ad677 100644
--- a/packages/code-analyzer-core/package.json
+++ b/packages/code-analyzer-core/package.json
@@ -1,7 +1,7 @@
{
"name": "@salesforce/code-analyzer-core",
"description": "Core Package for the Salesforce Code Analyzer",
- "version": "0.39.0",
+ "version": "0.40.0-SNAPSHOT",
"author": "The Salesforce Code Analyzer Team",
"license": "BSD-3-Clause",
"homepage": "https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/overview",
@@ -72,4 +72,4 @@
"!src/index.ts"
]
}
-}
\ No newline at end of file
+}
diff --git a/packages/code-analyzer-core/src/output-formats/results/html-run-results-format.ts b/packages/code-analyzer-core/src/output-formats/results/html-run-results-format.ts
index 8e419747..b1da634f 100644
--- a/packages/code-analyzer-core/src/output-formats/results/html-run-results-format.ts
+++ b/packages/code-analyzer-core/src/output-formats/results/html-run-results-format.ts
@@ -8,7 +8,7 @@ import {
toJsonResultsOutput
} from "./json-run-results-format";
-const HTML_TEMPLATE_VERSION: string = '0.0.13';
+const HTML_TEMPLATE_VERSION: string = '0.0.14';
const HTML_TEMPLATE_FILE: string = path.resolve(__dirname, '..', '..', '..', 'output-templates', `html-template-${HTML_TEMPLATE_VERSION}.txt`);
/**
diff --git a/packages/code-analyzer-core/test/test-data/expectedOutputFiles/multipleViolations.goldfile.html b/packages/code-analyzer-core/test/test-data/expectedOutputFiles/multipleViolations.goldfile.html
index 667200ec..78e1aefd 100644
--- a/packages/code-analyzer-core/test/test-data/expectedOutputFiles/multipleViolations.goldfile.html
+++ b/packages/code-analyzer-core/test/test-data/expectedOutputFiles/multipleViolations.goldfile.html
@@ -237,8 +237,16 @@
);
}
getLocation(violation) {
- const position = this.getPosition(violation);
- return `{{###RUNDIR###}}
diff --git a/packages/code-analyzer-core/test/test-data/expectedOutputFiles/unexpectedEngineErrorViolation.goldfile.html b/packages/code-analyzer-core/test/test-data/expectedOutputFiles/unexpectedEngineErrorViolation.goldfile.html
index 86217e5e..3bd80b59 100644
--- a/packages/code-analyzer-core/test/test-data/expectedOutputFiles/unexpectedEngineErrorViolation.goldfile.html
+++ b/packages/code-analyzer-core/test/test-data/expectedOutputFiles/unexpectedEngineErrorViolation.goldfile.html
@@ -237,8 +237,16 @@
);
}
getLocation(violation) {
- const position = this.getPosition(violation);
- return `{{###RUNDIR###}}
diff --git a/packages/code-analyzer-core/test/test-data/expectedOutputFiles/zeroViolations.goldfile.html b/packages/code-analyzer-core/test/test-data/expectedOutputFiles/zeroViolations.goldfile.html
index a0154f3a..8c7a9dbc 100644
--- a/packages/code-analyzer-core/test/test-data/expectedOutputFiles/zeroViolations.goldfile.html
+++ b/packages/code-analyzer-core/test/test-data/expectedOutputFiles/zeroViolations.goldfile.html
@@ -237,8 +237,16 @@
);
}
getLocation(violation) {
- const position = this.getPosition(violation);
- return `{{###RUNDIR###}}