fs - some 💄 and enabling of graceful-fs centrally

This commit is contained in:
Benjamin Pasero
2021-10-21 07:17:37 +02:00
parent e8f55fba4d
commit d5ecf7e9d8
11 changed files with 141 additions and 134 deletions

View File

@@ -3,8 +3,6 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as fs from 'fs';
import { gracefulify } from 'graceful-fs';
import { hostname, release } from 'os';
import { raceTimeout } from 'vs/base/common/async';
import { VSBuffer } from 'vs/base/common/buffer';
@@ -56,9 +54,6 @@ class CliMain extends Disposable {
) {
super();
// Enable gracefulFs
gracefulify(fs);
this.registerListeners();
}