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

Updates SauceWhisk.load_first_found #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rringler
Copy link

Description

Updates SauceWhisk.load_first_found to check for the Sauce::Config constant,
instead of Sauce. This will help prevent against accidental collisions with
Sauce namespaces not provided by the (deprecated) Sauce gem.

I ran into this while grouping some of my other Sauce utility classes under the Sauce
namespace, which makes the current version of SauceWhisk think a Sauce::Config
class exists.

Risks

Low: Increases the specificity of assumptions (that a Sauce::Config class exists.)

Updates `SauceWhisk.load_first_found` to check for the `Sauce::Config` constant,
instead of `Sauce`. This will help prevent against accidental collisions with
`Sauce` namespaces not provided by the (deprecated) Sauce gem.
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.

None yet

1 participant