-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: unnecessary exceptions when checking if a project is versionable (
#106) In the case of checking whether a project can be versioned, the invalid operation exception is swallowed because it is not really invalid for that use case. This update only builds the exception for the Create case and so skips the cost of the exception in the more common case
- Loading branch information
1 parent
b1cfb7c
commit 4714d2f
Showing
1 changed file
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters