Skip to content

Commit

Permalink
fix(docs): correct example of using open resources API (#1651)
Browse files Browse the repository at this point in the history
  • Loading branch information
goneri authored Nov 28, 2024
1 parent dd9211c commit 4e992af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Home.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e992af

Please sign in to comment.