Oh ok no pb I change that


2014-02-04 Jed Watson <notifications@github.com>:

> In lib/fieldTypes/fsimage.js:
>
> > +        throw new Error("FsImage fields require a valid config object for setting up variants.");
> > +
> > +    // default variant config for admin feedback
> > +    var adminConfig = {
> > +        "resize": {
> > +            "admin" : "300x200"
> > +        }
> > +    };
> > +    // default path for upload
> > +    var defaultPath = 'public/images/upload/';
> > +
> > +    // if path not precised push the default one
> > +    if (!!!options.path || _.isEmpty(options.path)){
> > +        options.path = defaultPath;
> > +    }
> > +    if (!_.has(options.variants.resize,"admin")){ // push the admin config into variants
>
> I know this is picky but if you can follow the established white-space
> conventions I'd appreciate it. This line would be:
>
> if (!_.has(options.variants.resize, "admin")) {
>                                    ^         ^
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/JedWatson/keystone/pull/103/files#r9419344>
> .
>