Skip to content

Catch ENOENT in clear_cache#2766

Merged
vmg merged 1 commit intomasterfrom
piki/clear-cache
Dec 10, 2015
Merged

Catch ENOENT in clear_cache#2766
vmg merged 1 commit intomasterfrom
piki/clear-cache

Conversation

@piki
Copy link

@piki piki commented Dec 10, 2015

There's no need for clear_cache to fail if the cache doesn't exist,
either because we call clear_cache twice or because no cache was
previously written on this particular repo.

/cc @vmg, who wrote bin/git-linguist

There's no need for `clear_cache` to fail if the cache doesn't exist,
either because we call `clear_cache` twice or because no cache was
previously written on this particular repo.
vmg pushed a commit that referenced this pull request Dec 10, 2015
Catch `ENOENT` in `clear_cache`
@vmg vmg merged commit 53d238f into master Dec 10, 2015
@vmg
Copy link

vmg commented Dec 10, 2015

Ugh yes, this was in my TODO list. Sorry!

@arfon arfon mentioned this pull request Jan 15, 2016
@arfon arfon deleted the piki/clear-cache branch March 18, 2016 17:03
@github-linguist github-linguist locked as resolved and limited conversation to collaborators Jun 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants