remove logDirectory, #43275

This commit is contained in:
Johannes Rieken
2018-08-20 15:42:09 +02:00
parent 66205890dd
commit 27c72d4ea4
4 changed files with 4 additions and 20 deletions

View File

@@ -28,13 +28,13 @@ export default class LogDirectoryProvider {
@memoize
private logDirectory(): string | undefined {
try {
const path = this.context.logDirectory;
const path = this.context.logPath;
if (!fs.existsSync(path)) {
fs.mkdirSync(path);
}
return this.context.logDirectory;
return this.context.logPath;
} catch {
return undefined;
}
}
}
}