@codacy/verity-cli 0.30.1-experimental.e2137b9 → 0.30.1
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/bin/verity.js +4 -4
- package/package.json +1 -1
package/bin/verity.js
CHANGED
|
@@ -10497,7 +10497,7 @@ var SECURITY_PATTERNS = [
|
|
|
10497
10497
|
/Dockerfile/
|
|
10498
10498
|
];
|
|
10499
10499
|
var PROD_SERVICE_URL = "https://ofcamwrjwrkazqvdchko.supabase.co/functions/v1";
|
|
10500
|
-
var DEFAULT_SERVICE_URL = "
|
|
10500
|
+
var DEFAULT_SERVICE_URL = "".length > 0 ? "" : PROD_SERVICE_URL;
|
|
10501
10501
|
var GITHUB_CLIENT_ID = "Iv23li88HxAi3ZrbYzWh";
|
|
10502
10502
|
var GITHUB_DEVICE_CODE_URL = "https://github.com/login/device/code";
|
|
10503
10503
|
var GITHUB_ACCESS_TOKEN_URL = "https://github.com/login/oauth/access_token";
|
|
@@ -17837,7 +17837,7 @@ function channelSilence(input) {
|
|
|
17837
17837
|
// src/lib/cli-version.ts
|
|
17838
17838
|
function cliVersion() {
|
|
17839
17839
|
try {
|
|
17840
|
-
return true ? "0.30.1
|
|
17840
|
+
return true ? "0.30.1" : "dev";
|
|
17841
17841
|
} catch {
|
|
17842
17842
|
return "dev";
|
|
17843
17843
|
}
|
|
@@ -22865,8 +22865,8 @@ function registerTelemetryCommands(program2) {
|
|
|
22865
22865
|
}
|
|
22866
22866
|
|
|
22867
22867
|
// src/cli.ts
|
|
22868
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.30.1
|
|
22869
|
-
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.30.1
|
|
22868
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.30.1").option("--token <token>", "Override authentication token").option("--service-url <url>", "Override service URL").option("--verbose", "Log HTTP requests/responses to stderr").hook("preAction", async (_thisCommand, actionCommand) => {
|
|
22869
|
+
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.30.1");
|
|
22870
22870
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
22871
22871
|
try {
|
|
22872
22872
|
await foldLegacyLocalCredential();
|