-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix to parse REACT_EDITOR in env (#21331)
I made an issue #[21330](#21330). I think this line https://github.com/vercel/next.js/blob/0bd175264b000895cccd75f4499bdf55daad4882/packages/react-dev-overlay/src/internal/helpers/launchEditor.ts#L216 return string array and toLowerCase is undefined in string array so throw error. I fixed it by referring to [launchEditor](https://github.com/facebook/create-react-app/blob/7e4949a20fc828577fb7626a3262832422f3ae3b/packages/react-dev-utils/launchEditor.js) of create react app.
- Loading branch information
1 parent
c619f41
commit 3368fdd
Showing
1 changed file
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters