@codacy/verity-cli 0.34.2-experimental.d59d8cb → 0.34.2
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 +5 -5
- package/package.json +1 -1
package/bin/verity.js
CHANGED
|
@@ -14726,7 +14726,7 @@ var SECURITY_PATTERNS = [
|
|
|
14726
14726
|
/Dockerfile/
|
|
14727
14727
|
];
|
|
14728
14728
|
var PROD_SERVICE_URL = "https://ofcamwrjwrkazqvdchko.supabase.co/functions/v1";
|
|
14729
|
-
var DEFAULT_SERVICE_URL = "
|
|
14729
|
+
var DEFAULT_SERVICE_URL = "".length > 0 ? "" : PROD_SERVICE_URL;
|
|
14730
14730
|
var GITHUB_CLIENT_ID = "Iv23li88HxAi3ZrbYzWh";
|
|
14731
14731
|
var GITHUB_DEVICE_CODE_URL = "https://github.com/login/device/code";
|
|
14732
14732
|
var GITHUB_ACCESS_TOKEN_URL = "https://github.com/login/oauth/access_token";
|
|
@@ -27313,7 +27313,7 @@ function channelSilence(input) {
|
|
|
27313
27313
|
// src/lib/cli-version.ts
|
|
27314
27314
|
function cliVersion() {
|
|
27315
27315
|
try {
|
|
27316
|
-
return true ? "0.34.2
|
|
27316
|
+
return true ? "0.34.2" : "dev";
|
|
27317
27317
|
} catch {
|
|
27318
27318
|
return "dev";
|
|
27319
27319
|
}
|
|
@@ -40636,7 +40636,7 @@ function registerInitCommand(program2) {
|
|
|
40636
40636
|
...telemetryChoice ? { telemetry: telemetryChoice } : {},
|
|
40637
40637
|
init: {
|
|
40638
40638
|
completed_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
40639
|
-
cli_version: true ? "0.34.2
|
|
40639
|
+
cli_version: true ? "0.34.2" : "dev"
|
|
40640
40640
|
}
|
|
40641
40641
|
});
|
|
40642
40642
|
} catch (err2) {
|
|
@@ -42177,8 +42177,8 @@ function registerLeanCommand(program2) {
|
|
|
42177
42177
|
}
|
|
42178
42178
|
|
|
42179
42179
|
// src/cli.ts
|
|
42180
|
-
program.name("verity").description("CLI for Verity quality gate service").version("0.34.2
|
|
42181
|
-
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.34.2
|
|
42180
|
+
program.name("verity").description("CLI for Verity quality gate service").version("0.34.2").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) => {
|
|
42181
|
+
installStderrLog(actionCommand.name(), process.argv.slice(2), "0.34.2");
|
|
42182
42182
|
setUserNamedServiceUrl(program.opts().serviceUrl);
|
|
42183
42183
|
try {
|
|
42184
42184
|
await foldLegacyLocalCredential();
|