Skip to content

Commit 02bff01

Browse files
authoredFeb 8, 2021
Replace deprecated API regarding Electron tip (#221)
1 parent 36e9964 commit 02bff01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
This is meant to be used in command-line tools and scripts, not in the browser.
66

7-
If you need this for Electron, use [`shell.openItem()`](https://electronjs.org/docs/api/shell#shellopenitemfullpath) instead.
7+
If you need this for Electron, use [`shell.openPath()`](https://www.electronjs.org/docs/api/shell#shellopenpathpath) instead.
88

99
Note: The original [`open` package](https://github.com/pwnall/node-open) was previously deprecated in favor of this package, and we got the name, so this package is now named `open` instead of `opn`. If you're upgrading from the original `open` package (`open@0.0.5` or lower), keep in mind that the API is different.
1010

0 commit comments

Comments
 (0)
Please sign in to comment.