Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 3a9c692

Browse files
committed
refactor(logging): less verbose logging
less verbose logging
1 parent 50876eb commit 3a9c692

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/util/hybrid-file-system.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { basename, dirname } from 'path';
22
import { FileSystem, VirtualFileSystem } from './interfaces';
33
import { FileCache } from './file-cache';
44
import { VirtualDirStats, VirtualFileStats } from './virtual-file-utils';
5-
import { Logger } from '../logger/logger';
65

76
export class HybridFileSystem implements FileSystem, VirtualFileSystem {
87

@@ -59,7 +58,6 @@ export class HybridFileSystem implements FileSystem, VirtualFileSystem {
5958
}
6059

6160
readFile(path: string, callback: Function): any {
62-
Logger.debug(`[HybridFileSystem] readFile: reading ${path}`);
6361
const file = this.fileCache.get(path);
6462
if (file) {
6563
callback(null, new Buffer(file.content));
@@ -78,7 +76,6 @@ export class HybridFileSystem implements FileSystem, VirtualFileSystem {
7876
}
7977

8078
getFileContent(filePath: string) {
81-
Logger.debug(`[HybridFileSystem] getFileContent: get from cache ${filePath}`);
8279
const file = this.fileCache.get(filePath);
8380
if (file) {
8481
return file.content;

0 commit comments

Comments
 (0)