Arcath / jekyll-atom

A collection of tools and snippets for working with Jekyll in Atom
https://atom.io/packages/jekyll
MIT License
49 stars 19 forks source link

Uncaught TypeError: Cannot read property '0' of undefined #71

Open enricocaputo opened 6 years ago

enricocaputo commented 6 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.24.0 x64 Electron: 1.6.16 OS: Ubuntu 17.10 Thrown From: jekyll package 2.1.0

Stack Trace

Uncaught TypeError: Cannot read property '0' of undefined

At /home/enrico/.atom/packages/jekyll/lib/jekyll/jekyll.coffee:54

TypeError: Cannot read property '0' of undefined
    at Object.openData (/packages/jekyll/lib/jekyll/jekyll.coffee:54:63)
    at /packages/jekyll/lib/main.coffee:65:11
    at /packages/jekyll/lib/jekyll/utils.coffee:16:74
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at Object.handleConfigFileOpen (/packages/jekyll/lib/jekyll/utils.coffee:49:21)
    at /packages/jekyll/lib/jekyll/utils.coffee:22:21
    at FSReqWrap.oncomplete (fs.js:112:15)

Commands

     -0:26.9.0 jekyll:open-data (input.hidden-input)

Non-Core Packages

atom-beautify 0.30.9 
atom-uikit 1.2.2 
color-picker 2.2.5 
jekyll 2.1.0 
language-liquid 0.6.0 
markdown-writer 2.7.3