File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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} ) ( ) ;
You can’t perform that action at this time.
0 commit comments