Convert all 4-space indented files to 2-space.

This commit is contained in:
Chris Gavin 2020-06-23 14:22:03 +01:00
parent 211ad30f72
commit 88231094bf
No known key found for this signature in database
GPG key ID: 07F950B80C27E4DA
26 changed files with 1305 additions and 1306 deletions

View file

@ -2,12 +2,11 @@ import * as fs from 'fs';
const env = {};
for (let entry of Object.entries(process.env)) {
const key = entry[0];
const value = entry[1];
if (typeof value !== 'undefined' && key !== '_' && !key.startsWith('JAVA_MAIN_CLASS_')) {
env[key] = value;
}
const key = entry[0];
const value = entry[1];
if (typeof value !== 'undefined' && key !== '_' && !key.startsWith('JAVA_MAIN_CLASS_')) {
env[key] = value;
}
}
process.stdout.write(process.argv[2]);
fs.writeFileSync(process.argv[2], JSON.stringify(env), 'utf-8');