File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
apps/webapp/app/v3/environmentVariables Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,15 +92,15 @@ export class EnvironmentVariablesRepository implements Repository {
9292
9393 // Remove `TRIGGER_SECRET_KEY` or `TRIGGER_API_URL`
9494 let values = removeBlacklistedVariables ( options . variables ) ;
95- const removedDuplicates = values . length !== options . variables . length ;
95+ const removedBlacklisted = values . length !== options . variables . length ;
9696
9797 //get rid of empty variables
9898 values = values . filter ( ( v ) => v . key . trim ( ) !== "" && v . value . trim ( ) !== "" ) ;
9999 if ( values . length === 0 ) {
100100 return {
101101 success : false as const ,
102102 error : `You must set at least one valid variable.${
103- removedDuplicates ? " These were ignored because they're blacklisted ." : ""
103+ removedBlacklisted ? " All the variables submitted are not allowed ." : ""
104104 } `,
105105 } ;
106106 }
You can’t perform that action at this time.
0 commit comments