Skip to content

Commit 03214a0

Browse files
kyliauKeen Yee Liau
authored andcommitted
refactor: replace logPath with logUri
`context.logPath` has been deprecated, use `context.logUri` instead.
1 parent 8854a47 commit 03214a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ function constructArgs(ctx: vscode.ExtensionContext): string[] {
379379
const ngLog: string = config.get('angular.log', 'off');
380380
if (ngLog !== 'off') {
381381
// Log file does not yet exist on disk. It is up to the server to create the file.
382-
const logFile = path.join(ctx.logPath, 'nglangsvc.log');
382+
const logFile = path.join(ctx.logUri.fsPath, 'nglangsvc.log');
383383
args.push('--logFile', logFile);
384384
args.push('--logVerbosity', ngLog);
385385
}

0 commit comments

Comments
 (0)