Fix linting

This commit is contained in:
Felipe Knorr Kuhn 2023-08-16 16:16:04 -07:00
parent 44d2ea1263
commit 004208e9c8
No known key found for this signature in database
GPG Key ID: 79619B52BB097C1A

View File

@ -202,7 +202,7 @@ describe('Mempool Backend Config', () => {
let defaultEntry;
//The string used as the default value, to be checked as a regex, i.e, __MEMPOOL_ENABLED__=${MEMPOOL_ENABLED:=(.*)}
if (Array.isArray(value)) {
defaultEntry = `${replaceStr}=\$\{${envVarStr}:=\[]}`;
defaultEntry = `${replaceStr}=\${${envVarStr}:=[]}`;
if (process.env.CI) {
console.log(`looking for ${defaultEntry} in the start.sh script`);
}