Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Aborted due to warnings (a wee bit too sensitive... =) #3

Closed
Melindrea opened this Issue · 5 comments

2 participants

@Melindrea

Thanks again for fixing #2, and I just tested it out, with the following output:

Running "csscss:dist" (csscss) task
.tmp/style.css
[]

Warning: Failed due to matches found by CSSCSS. Use --force to continue.

Aborted due to warnings.
@peterkeating

Interesting, wonder why CSSCSS is outputting an empty array. What are the options you're passing to CSSCSS? Also, out of curiosity what is the CSS in .tmp/style.css?

@Melindrea

Options:

csscss: {
        options: {
            verbose: true,
            outputJson: true,
            compass: true,
            failWhenDuplicates: true
        },
        dist: {
            src: ['.tmp/style.css']
        }
    },

CSS: https://gist.github.com/Melindrea/5402865#file-style-css (after I realised how big the file actually is -- 1004 lines).

I'm assuming the reason it outputted an empty array is because there are no duplicates. It's a quite basic stylesheet at the moment, mainly Normalizer followed by Typeplate and a few minor adjustments.

@peterkeating

Ah the reason is because your output is JSON, that makes perfect sense. Will get this sorted for you as soon as I can :)

Thanks a bunch!

@Melindrea

I like the cleanliness of JSON =)

@peterkeating peterkeating referenced this issue from a commit
@peterkeating fixed bug which failed grunt task when outputting JSON and set to fai…
…l when duplicates are found even though no duplicates were found. (#3).
6c77c36
@peterkeating

All sorted, thanks Marie, your feedback is very much appreciated :)

Keep opening issues if you find anything else or can think of anything else that would be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.