Skip to content

Commit bffbcc6

Browse files
committed
chore: remove console.log
1 parent 1e252b9 commit bffbcc6

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

dist/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13468,7 +13468,6 @@ const hasProtectionRuleFilter = (value, hasProtection) => {
1346813468
return hasProtection === 'true' ? !!value.length : !value.length;
1346913469
};
1347013470
(async () => {
13471-
console.log(process.env);
1347213471
const excludeEnvsInput = (0, core_1.getInput)('exclude-envs', { required: false });
1347313472
const excludeEnvs = (excludeEnvsInput ? JSON.stringify(excludeEnvsInput) : []);
1347413473
const hasProtectionRule = (0, core_1.getInput)('has-protection-rule', {
@@ -13485,7 +13484,6 @@ const hasProtectionRuleFilter = (value, hasProtection) => {
1348513484
.filter(({ name, protection_rules }) => !excludeEnvs.includes(name) &&
1348613485
hasProtectionRuleFilter(protection_rules, hasProtectionRule))
1348713486
.map((it) => it.name);
13488-
console.log(envList);
1348913487
return (0, core_1.setOutput)('environments', envList);
1349013488
})();
1349113489

scr/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const hasProtectionRuleFilter = (
1313
};
1414

1515
(async () => {
16-
console.log(process.env);
1716
const excludeEnvsInput = getInput('exclude-envs', { required: false });
1817

1918
const excludeEnvs = (
@@ -48,7 +47,5 @@ const hasProtectionRuleFilter = (
4847
)
4948
.map((it) => it.name);
5049

51-
console.log(envList);
52-
5350
return setOutput('environments', envList);
5451
})();

0 commit comments

Comments
 (0)