Uncaught TypeError: Cannot read property '1' of undefined
At /Users/rm/.atom/packages/ror-refactor/lib/tools/extract-code.js:114
TypeError: Cannot read property '1' of undefined
at ExtractCode.extractMethodOrLine (/packages/ror-refactor/lib/tools/extract-code.js:114:19)
at ExtractCode.refactor (/packages/ror-refactor/lib/tools/extract-code.js:49:14)
at HTMLElement.rorRefactorExtractCode (/packages/ror-refactor/lib/ror-refactor.js:18:59)
at CommandRegistry.handleCommandEvent (/private/var/folders/9s/y8_06b491lzbzbg0b5knwf2c0000gn/T/AppTranslocation/45A6782E-F268-4A4D-8F74-35FF2AA36226/d/Atom.app/Contents/Resources/app/static/<embedded>:11:352694)
at CommandRegistry.dispatch (/private/var/folders/9s/y8_06b491lzbzbg0b5knwf2c0000gn/T/AppTranslocation/45A6782E-F268-4A4D-8F74-35FF2AA36226/d/Atom.app/Contents/Resources/app/static/<embedded>:11:351169)
at AtomEnvironment.dispatchContextMenuCommand (/private/var/folders/9s/y8_06b491lzbzbg0b5knwf2c0000gn/T/AppTranslocation/45A6782E-F268-4A4D-8F74-35FF2AA36226/d/Atom.app/Contents/Resources/app/static/<embedded>:1:786983)
at EventEmitter.t (/private/var/folders/9s/y8_06b491lzbzbg0b5knwf2c0000gn/T/AppTranslocation/45A6782E-F268-4A4D-8F74-35FF2AA36226/d/Atom.app/Contents/Resources/app/static/<embedded>:1:795037)
at EventEmitter.emit (events.js:223:5)
at Object.onMessage (electron/js2c/renderer_init.js:115:818)
Prerequisites
Description
Steps to Reproduce
Expected behavior:
Actual behavior:
Versions
Atom: 1.60.0 x64 Electron: 9.4.4 OS: macOS 12.3 Thrown From: ror-refactor package 0.3.1
Stack Trace
Uncaught TypeError: Cannot read property '1' of undefined
Commands
Non-Core Packages
Additional Information