use double quotes
This commit is contained in:
parent
86e4ba82fc
commit
4fd4d2e6b0
@ -68,10 +68,10 @@ const spec = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
for (const key in spec) {
|
for (const key in spec) {
|
||||||
const file_key = key + '_FILE';
|
const file_key = key + "_FILE";
|
||||||
if (!(file_key in process.env)) continue;
|
if (!(file_key in process.env)) continue;
|
||||||
try {
|
try {
|
||||||
process.env[key] = readFileSync(process.env[file_key], 'utf8').trim();
|
process.env[key] = readFileSync(process.env[file_key], "utf8").trim();
|
||||||
} catch {
|
} catch {
|
||||||
// on error, env_FILE just doesn't get applied.
|
// on error, env_FILE just doesn't get applied.
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user