You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Atom: 1.21.1 x64 Electron: 1.6.15 OS: Mac OS X 10.13 Thrown From: atom-macros package 0.5.2
Stack Trace
Uncaught TypeError: Cannot read property 'getUri' of undefined
At /Users/jorjun/.atom/macros.coffee:23
TypeError: Cannot read property 'getUri' of undefined
at getCurrentFilePath (/Users/jorjun/.atom/macros.coffee:23:41)
at Function.previewPage (/Users/jorjun/.atom/macros.coffee:45:24)
at /packages/atom-macros/lib/macros.coffee:133:16)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:381:36)
at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:266:23)
at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:1348:34)
at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app/src/application-delegate.js:335:31)
at emitThree (events.js:116:13)
at EventEmitter.emit (events.js:194:7)
Tried to write my own macro using above function.
Atom: 1.21.1 x64
Electron: 1.6.15
OS: Mac OS X 10.13
Thrown From: atom-macros package 0.5.2
Stack Trace
Uncaught TypeError: Cannot read property 'getUri' of undefined
Commands
Non-Core Packages
`
The text was updated successfully, but these errors were encountered: