Skip to content

Commit 4539297

Browse files
committed
fix: 未选择路径时不显示提示信息
1 parent d825fa5 commit 4539297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

VModer.Extensions/client/extension/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ async function pickGameRootFolderPath(config: WorkspaceConfiguration) {
196196
});
197197
if (uri && uri[0]) {
198198
await config.update("VModer.GameRootPath", uri[0].fsPath, true);
199+
await window.showInformationMessage(l10n.t("MustRestart"));
199200
}
200-
await window.showInformationMessage(l10n.t("MustRestart"));
201201
}
202202

203203
function updateStatusBarItem(statusBarItem: StatusBarItem, client: LanguageClient) {

0 commit comments

Comments
 (0)