Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
fff538d7
Unverified
Commit
fff538d7
authored
3 years ago
by
jzone
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
feat(react-dev-uitlls): export guessEditor in launchEditor.js
parent
c20ccecf
github/fork/zhixiaoqiang/feature/react-dev-utils-export-guessEditor
1 merge request
!12427
feat(react-dev-uitlls): export guessEditor in launchEditor.js #12426
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/react-dev-utils/launchEditor.js
+1
-1
packages/react-dev-utils/launchEditor.js
with
1 addition
and
1 deletion
+1
-1
packages/react-dev-utils/launchEditor.js
+
1
-
1
View file @
fff538d7
...
...
@@ -194,7 +194,7 @@ function getArgumentsForLineNumber(
return
[
fileName
];
}
function
guessEditor
()
{
export
function
guessEditor
()
{
// Explicit config always wins
if
(
process
.
env
.
REACT_EDITOR
)
{
return
shellQuote
.
parse
(
process
.
env
.
REACT_EDITOR
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets