Skip to content

Commit 397b40b

Browse files
authored
Revert "Autodetect GoLand editor (facebook#3980)"
This reverts commit 03604a4.
1 parent aa491c9 commit 397b40b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/react-dev-utils/launchEditor.js

-7
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ const COMMON_EDITORS_OSX = {
5757
'/Applications/WebStorm.app/Contents/MacOS/webstorm':
5858
'/Applications/WebStorm.app/Contents/MacOS/webstorm',
5959
'/Applications/MacVim.app/Contents/MacOS/MacVim': 'mvim',
60-
'/Applications/GoLand.app/Contents/MacOS/goland':
61-
'/Applications/GoLand.app/Contents/MacOS/goland',
6260
};
6361

6462
const COMMON_EDITORS_LINUX = {
@@ -74,7 +72,6 @@ const COMMON_EDITORS_LINUX = {
7472
sublime_text: 'sublime_text',
7573
vim: 'vim',
7674
'webstorm.sh': 'webstorm',
77-
'goland.sh': 'goland',
7875
};
7976

8077
const COMMON_EDITORS_WIN = [
@@ -96,8 +93,6 @@ const COMMON_EDITORS_WIN = [
9693
'rubymine64.exe',
9794
'webstorm.exe',
9895
'webstorm64.exe',
99-
'goland.exe',
100-
'goland64.exe',
10196
];
10297

10398
function addWorkspaceToArgumentsIfExists(args, workspace) {
@@ -160,8 +155,6 @@ function getArgumentsForLineNumber(
160155
case 'rubymine64':
161156
case 'webstorm':
162157
case 'webstorm64':
163-
case 'goland':
164-
case 'goland64':
165158
return addWorkspaceToArgumentsIfExists(
166159
['--line', lineNumber, fileName],
167160
workspace

0 commit comments

Comments
 (0)