mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-22 09:02:50 +00:00
Patch @azure/logger to address CodeQL violations
This commit is contained in:
parent
8a0051ffb2
commit
5056fa9d50
5 changed files with 27 additions and 5 deletions
2
dist/main/index.js
vendored
2
dist/main/index.js
vendored
|
@ -17515,7 +17515,7 @@ let enabledNamespaces = [];
|
||||||
let skippedNamespaces = [];
|
let skippedNamespaces = [];
|
||||||
const debuggers = [];
|
const debuggers = [];
|
||||||
if (debugEnvVariable) {
|
if (debugEnvVariable) {
|
||||||
enable(debugEnvVariable);
|
// enable(debugEnvVariable);
|
||||||
}
|
}
|
||||||
const debugObj = Object.assign((namespace) => {
|
const debugObj = Object.assign((namespace) => {
|
||||||
return createDebugger(namespace);
|
return createDebugger(namespace);
|
||||||
|
|
2
dist/main/index.js.map
vendored
2
dist/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/post/index.js
vendored
2
dist/post/index.js
vendored
|
@ -16618,7 +16618,7 @@ let enabledNamespaces = [];
|
||||||
let skippedNamespaces = [];
|
let skippedNamespaces = [];
|
||||||
const debuggers = [];
|
const debuggers = [];
|
||||||
if (debugEnvVariable) {
|
if (debugEnvVariable) {
|
||||||
enable(debugEnvVariable);
|
// enable(debugEnvVariable);
|
||||||
}
|
}
|
||||||
const debugObj = Object.assign((namespace) => {
|
const debugObj = Object.assign((namespace) => {
|
||||||
return createDebugger(namespace);
|
return createDebugger(namespace);
|
||||||
|
|
2
dist/post/index.js.map
vendored
2
dist/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,16 @@
|
||||||
|
diff --git a/node_modules/@azure/logger/dist-esm/src/debug.js b/node_modules/@azure/logger/dist-esm/src/debug.js
|
||||||
|
index d202779..30e8313 100644
|
||||||
|
--- a/node_modules/@azure/logger/dist-esm/src/debug.js
|
||||||
|
+++ b/node_modules/@azure/logger/dist-esm/src/debug.js
|
||||||
|
@@ -7,7 +7,7 @@ let enabledNamespaces = [];
|
||||||
|
let skippedNamespaces = [];
|
||||||
|
const debuggers = [];
|
||||||
|
if (debugEnvVariable) {
|
||||||
|
- enable(debugEnvVariable);
|
||||||
|
+ // enable(debugEnvVariable);
|
||||||
|
}
|
||||||
|
const debugObj = Object.assign((namespace) => {
|
||||||
|
return createDebugger(namespace);
|
||||||
diff --git a/node_modules/@azure/logger/dist-esm/src/index.js b/node_modules/@azure/logger/dist-esm/src/index.js
|
diff --git a/node_modules/@azure/logger/dist-esm/src/index.js b/node_modules/@azure/logger/dist-esm/src/index.js
|
||||||
index cc25720..2925db5 100644
|
index cc25720..2925db5 100644
|
||||||
--- a/node_modules/@azure/logger/dist-esm/src/index.js
|
--- a/node_modules/@azure/logger/dist-esm/src/index.js
|
||||||
|
@ -12,9 +25,18 @@ index cc25720..2925db5 100644
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
diff --git a/node_modules/@azure/logger/dist/index.js b/node_modules/@azure/logger/dist/index.js
|
diff --git a/node_modules/@azure/logger/dist/index.js b/node_modules/@azure/logger/dist/index.js
|
||||||
index 81e97c3..a0e14d8 100644
|
index 81e97c3..a415e2f 100644
|
||||||
--- a/node_modules/@azure/logger/dist/index.js
|
--- a/node_modules/@azure/logger/dist/index.js
|
||||||
+++ b/node_modules/@azure/logger/dist/index.js
|
+++ b/node_modules/@azure/logger/dist/index.js
|
||||||
|
@@ -21,7 +21,7 @@ let enabledNamespaces = [];
|
||||||
|
let skippedNamespaces = [];
|
||||||
|
const debuggers = [];
|
||||||
|
if (debugEnvVariable) {
|
||||||
|
- enable(debugEnvVariable);
|
||||||
|
+ // enable(debugEnvVariable);
|
||||||
|
}
|
||||||
|
const debugObj = Object.assign((namespace) => {
|
||||||
|
return createDebugger(namespace);
|
||||||
@@ -125,7 +125,7 @@ if (logLevelFromEnv) {
|
@@ -125,7 +125,7 @@ if (logLevelFromEnv) {
|
||||||
setLogLevel(logLevelFromEnv);
|
setLogLevel(logLevelFromEnv);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue