grunt-cache-bust icon indicating copy to clipboard operation
grunt-cache-bust copied to clipboard

Upgrading from 1.4.1 to 1.5.0 causes crash on cache bust

Open PLPeeters opened this issue 9 years ago • 0 comments

When updating from version 1.4.1 to 1.5.0, the task suddenly stopped working with the following warning message:

Warning: Cannot use 'in' operator to search for 'index.html' in undefined Use --force to continue.

My configuration is as follows:

{
    index: {
        options: {
            assets: ['scripts/**', 'views/**', '../libs/**', 'styles/**'],
            queryString: true,
            baseDir: 'angular'
        },
        src: ['angular/index.html']
    }
}

Relevant directory structure:

angular/
    scripts/
    views/
    ...
GruntFile.js
...

Reverting to 1.4.1 fixes the issue.

PLPeeters avatar Mar 24 '17 15:03 PLPeeters