Convert all 4-space indented files to 2-space.
This commit is contained in:
parent
211ad30f72
commit
88231094bf
26 changed files with 1305 additions and 1306 deletions
|
|
@ -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');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue