Skip to content

Commit

Permalink
Revert "Autodetect GoLand editor (facebook#3980)"
Browse files Browse the repository at this point in the history
This reverts commit 03604a4.
  • Loading branch information
1msoft committed Feb 10, 2018
1 parent aa491c9 commit 397b40b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions packages/react-dev-utils/launchEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ const COMMON_EDITORS_OSX = {
'/Applications/WebStorm.app/Contents/MacOS/webstorm':
'/Applications/WebStorm.app/Contents/MacOS/webstorm',
'/Applications/MacVim.app/Contents/MacOS/MacVim': 'mvim',
'/Applications/GoLand.app/Contents/MacOS/goland':
'/Applications/GoLand.app/Contents/MacOS/goland',
};

const COMMON_EDITORS_LINUX = {
Expand All @@ -74,7 +72,6 @@ const COMMON_EDITORS_LINUX = {
sublime_text: 'sublime_text',
vim: 'vim',
'webstorm.sh': 'webstorm',
'goland.sh': 'goland',
};

const COMMON_EDITORS_WIN = [
Expand All @@ -96,8 +93,6 @@ const COMMON_EDITORS_WIN = [
'rubymine64.exe',
'webstorm.exe',
'webstorm64.exe',
'goland.exe',
'goland64.exe',
];

function addWorkspaceToArgumentsIfExists(args, workspace) {
Expand Down Expand Up @@ -160,8 +155,6 @@ function getArgumentsForLineNumber(
case 'rubymine64':
case 'webstorm':
case 'webstorm64':
case 'goland':
case 'goland64':
return addWorkspaceToArgumentsIfExists(
['--line', lineNumber, fileName],
workspace
Expand Down

0 comments on commit 397b40b

Please sign in to comment.