Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows a single file to run and output by default in overwrite mode. #163

Merged
merged 1 commit into from
Jan 3, 2013
Merged

Allows a single file to run and output by default in overwrite mode. #163

merged 1 commit into from
Jan 3, 2013

Conversation

wilwade
Copy link

@wilwade wilwade commented Jan 2, 2013

The cli instructions imply that this works, however the tool function was missing the code for it.

Also I added a final else to make sure that an error is thrown if something goes wrong and none of the other if/ifelse catch.

If you try to run just a single file on the cli:

php csscomb.php -i any_css_file.css

The cli tool reports done, however nothing happens.

Expected Behavior:

any_css_file.css is overwritten with the sorted version.

Adds a final else to make sure that an error is thrown if something goes wrong.
miripiruni added a commit that referenced this pull request Jan 3, 2013
Allows a single file to run and output by default in overwrite mode.
@miripiruni miripiruni merged commit 56e5acd into csscomb:master Jan 3, 2013
@wilwade wilwade deleted the single_file_run branch January 3, 2013 18:38
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.

2 participants