Skip to content

src does not support globs #42

@arlodesign

Description

@arlodesign

My config:

bless: {
    prod: {
        options: {
            logCount: 'warn',
            failOnLimit: 'true'
        },
        src: ['dist/prod/www/css/**/*.css']
    }
}

The output of grunt bless:prod --verbose:

Running "bless:prod" (bless) task
[D] Task source: (MY PATH)/node_modules/grunt-bless/tasks/bless.js
Verifying property bless.prod exists in config...OK
Files: (BIG LIST OF FILES SUPPRESSED, BUT IT WAS A CORRECT LIST OF PATHS SEPARATED BY COMMAS)
Options: compress=false, logCount="warn", force=false, warnLimit=4013, imports, failOnLimit="true", suffix="", sourceMaps=false, root=""
it is not an array.
Reading dist/prod/www/css/bookmarklet/bookmarklet-all.82bc5f57.css...OK
Warning: Cannot read property '0' of undefined Use --force to continue.

Aborted due to warnings.

I would think that should work, but it's not reaching the concat function as an array. Could be a grunt issue? Could be me doing something wrong? But this seems like it should work.

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