Git Product home page Git Product logo

Object #<Object> has not method 'expandFiles' Use --force to continue about grunt-coffeelint HOT 9 CLOSED

vojtajina avatar vojtajina commented on June 3, 2024
Object # has not method 'expandFiles' Use --force to continue

from grunt-coffeelint.

Comments (9)

matthiasbayer avatar matthiasbayer commented on June 3, 2024

expandFiles got renamed to expand in grunt v0.4. I think the master branch works with grunt >=0.4.0, the npm seems to be outdated.

from grunt-coffeelint.

j avatar j commented on June 3, 2024

It'd be nice for the NPM to be updated!

from grunt-coffeelint.

j avatar j commented on June 3, 2024

ping @vojtajina

from grunt-coffeelint.

vojtajina avatar vojtajina commented on June 3, 2024

It's been pushed to NPM!

Sorry for delays guys, too many github notifications... Thanks for pinging me...

from grunt-coffeelint.

j avatar j commented on June 3, 2024

Thank you sir! I know how it feels. Github notifications are a little weird too... Never shows me the important stuff :(

from grunt-coffeelint.

j avatar j commented on June 3, 2024

I'm still getting this error.

from grunt-coffeelint.

Iristyle avatar Iristyle commented on June 3, 2024

@vojtajina looks like you might have pushed an old copy up -- whoops.

I was using the tarball from master which worked just fine... then switched to this NPM versioned copy and things broke :(

from grunt-coffeelint.

ciddan avatar ciddan commented on June 3, 2024

@vojtajina There is a small diff between what got pushed to npmjs and what's in master...

From npm:

  grunt.registerMultiTask('coffeelint', 'Validate files with CoffeeLint', function() {

    var files = grunt.file.expandFiles(this.data.files || this.data); // <------ this found its way back in
    var options = this.data.options || grunt.config('coffeelintOptions') || {};
    var errorCount = 0;

From master:

  grunt.registerMultiTask('coffeelint', 'Validate files with CoffeeLint', function() {
    var options = this.data.options || grunt.config('coffeelintOptions') || {};
    var errorCount = 0;

from grunt-coffeelint.

vojtajina avatar vojtajina commented on June 3, 2024

Sorry guys, my fault (I didn't pull from github before publishing to npm).

I did some more refactoring to follow grunt 0.4. conventions and pushed to npm.

So you should be fine now.

from grunt-coffeelint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.