AtomLinter / linter-spell

Multilingual grammar-specific spell checking for Atom and linter using Ispell compatible interface such as GNU Aspell or Hunspell.
https://atom.io/packages/linter-spell
MIT License
14 stars 1 forks source link

Uncaught TypeError: _.castArray is not a function #1

Closed cemegginson closed 8 years ago

cemegginson commented 8 years ago

[Enter steps to reproduce below:]

  1. Install linter-spell.
  2. The error appears.

Atom Version: 1.8.0 System: linux 4.6.3-1-ARCH Thrown From: linter-spell package, v0.2.1

Stack Trace

Uncaught TypeError: _.castArray is not a function

At /home/casey/.atom/packages/linter-spell/lib/main.js:66

TypeError: _.castArray is not a function
    at Object.consumeGrammar (/home/casey/.atom/packages/linter-spell/lib/main.js:66:18)
    at Provider.module.exports.Provider.provide (/usr/share/atom/resources/app.asar/node_modules/service-hub/lib/provider.js:30:52)
    at /usr/share/atom/resources/app.asar/node_modules/service-hub/lib/service-hub.js:55:26
    at doNTCallback0 (node.js:443:9)
    at process._tickCallback (node.js:372:13)

Commands

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
activate-power-mode, v0.5.2
autocomplete-clang, v0.9.4
autocomplete-glsl, v0.2.3
linter, v1.11.14
linter-clang, v3.4.4
linter-cpplint, v1.0.1
linter-glsl, v2.0.5
linter-pylint, v1.2.0
linter-shellcheck, v1.2.0
linter-spell, v0.2.1
linter-spell-latex, v0.2.1
pdf-view, v0.50.0

# Dev
No dev packages
yitzchak commented 8 years ago

Try now please. Just pushed patch into v0.2.2

cemegginson commented 8 years ago

Thanks, that fixed it.