Skip to content

Try to fix the 'images-resize` task's handling of :out-dir.#235

Open
wiseman wants to merge 1 commit intohashobject:masterfrom
wiseman:images-resize-fix
Open

Try to fix the 'images-resize` task's handling of :out-dir.#235
wiseman wants to merge 1 commit intohashobject:masterfrom
wiseman:images-resize-fix

Conversation

@wiseman
Copy link
Contributor

@wiseman wiseman commented May 23, 2019

Fixes #233.

I think this makes images-resize's behavior more consistent with
other tasks with regard to putting output files in a location corresponding to their original locations. Specifically, this keeps resized images next to the original images, unless :out-dir is used.

I'm guessing there might be a better way of doing this, since other tasks can have a default :out-dir "public" and this uses a default :out-dir nil.

I think this makes `images-resize`'s behavior more consistent with
other tasks.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'images-resize' task moves images

1 participant