From 4e992afb29a5412ca2c4558e84cef6f740ff1133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A9ri=20Le=20Bouder?= Date: Thu, 28 Nov 2024 05:04:23 -0600 Subject: [PATCH] fix(docs): correct example of using open resources API (#1651) --- docs/Home.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Home.md b/docs/Home.md index 918fb3eed..fd8e807bf 100644 --- a/docs/Home.md +++ b/docs/Home.md @@ -45,7 +45,7 @@ Since 4.2.0, the most convenient way to open files and folders is the `openResou It is recommended to use absolute paths, relative paths are based on process' cwd. ```typescript -await VSBrowser.openResources(`${path/to/folder1}`, ${path/to/file1}, ${path/to/folder2}) +await VSBrowser.instance.openResources(`${path/to/folder1}`, ${path/to/file1}, ${path/to/folder2}) ``` ### Using Dialogs