Skip to content

On Windows with Node 0.11.13 grunt.config returns an empty object #1166

Description

@mgol
  1. Install Node 0.11.13 on Windows 8.1
  2. Checkout https://github.com/mzgol/grunt-check-dependencies
  3. Run npm test

Effect: https://ci.appveyor.com/project/mzgol/grunt-check-dependencies/build/3/job/v5ik5b0f0b7nui91

This is because in this line:
https://github.com/mzgol/grunt-check-dependencies/blob/b904397b9ffc459e8a175d0026bd4063eb1f6676/test/spec.js#L37
grunt.config(['checkDependencies', 'ok', 'options']) returns undefined. grunt.config() returns an empty object.

It works fine on OS X in both Node 0.10.29 and 0.11.13 and on Windows 8.1 on Node 0.10.29.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions