Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #16 from trotzig/repurpose-prune
Browse files Browse the repository at this point in the history
Rename `likadan prune` to `likadan clean`
  • Loading branch information
trotzig committed Jul 27, 2015
2 parents 3fd48ef + 364220c commit 7c9e1b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Uploads all current diff images to an Amazon S3 account and reports back URLs
to access those diff images. Requires the `s3_access_key_id` and
`s3_secret_access_key` configuration options.

### `likadan prune`
### `likadan clean`

Recursively removes everything in the snapshots folder (configured through
`snapshot_folder`).
`snapshots_folder`).
2 changes: 1 addition & 1 deletion bin/likadan
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ when 'review'
system 'open', LikadanUtils.construct_url('/review')
require 'likadan_server'

when 'prune'
when 'clean'
FileUtils.remove_entry_secure LikadanUtils.config['snapshots_folder']

when 'approve', 'reject'
Expand Down

0 comments on commit 7c9e1b2

Please sign in to comment.