elegantchaos / atom-ide-swift

Swift support for Atom IDE.
18 stars 3 forks source link

Uncaught TypeError: Cannot read property 'slice' of undefined #22

Open ienos-github opened 5 years ago

ienos-github commented 5 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.34.0 x64 Electron: 2.0.16 OS: Mac OS X 10.14.1 Thrown From: ide-swift package 0.1.8

Stack Trace

Uncaught TypeError: Cannot read property 'slice' of undefined

At /Users/xuhuanjie/.atom/packages/ide-swift/lib/ide-swift-view.js:91

TypeError: Cannot read property 'slice' of undefined
    at IdeSwiftView.checkForCommand (/packages/ide-swift/lib/ide-swift-view.js:91:29)
    at /packages/ide-swift/lib/ide-swift-view.js:24:18
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1172318)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1173759)
    at TextBuffer.emitDidStopChangingEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:504567)
    at later (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:98353)

Commands

     -0:40.7.0 console:toggle (input.hidden-input)
     -0:34.5.0 ide-swift:target (atom-pane.pane)
  2x -0:26.5.0 ide-swift:debugOrResume (atom-pane.pane)
     -0:15.9.0 ide-swift:clear (input.hidden-input)
  7x -0:14.1.0 core:backspace (input.hidden-input)

Non-Core Packages

atom-ide-ui 0.13.0 
ide-swift 0.1.8 
language-swift-89 0.4.0 
tool-bar 1.1.11