2020-04-08 03:19:55 +02:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
(function () {
|
|
|
|
// Use graceful-fs instead of fs also in all libraries to have more robust fs handling.
|
|
|
|
const realFs = require('fs');
|
|
|
|
const gracefulFs = require('graceful-fs');
|
|
|
|
gracefulFs.gracefulify(realFs);
|
2020-06-30 01:10:18 +02:00
|
|
|
|
|
|
|
// Init config by parsing commandline. Afterwards all other imports may happen.
|
|
|
|
require('./config').parseCommandLine();
|
2020-04-08 03:19:55 +02:00
|
|
|
})();
|