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

(PA-4914) Use relative_require #133

Merged
merged 1 commit into from Mar 3, 2023

Conversation

joshcooper
Copy link
Contributor

Require will scan each entry in the $LOAD_PATH, so avoid that.

The only remaining requires are for ruby standard gems:

$ git grep -hE "require ['\"][a-z]+['\"]" lib | sort | uniq
require 'forwardable'
require 'optparse'
require 'pathname'
require 'set'
require 'stringio'
require 'uri'

@joshcooper joshcooper requested a review from a team as a code owner March 3, 2023 00:03
Require will scan each entry in the $LOAD_PATH, so avoid that.
@mhashizume mhashizume merged commit a0a0790 into puppetlabs:main Mar 3, 2023
@joshcooper joshcooper deleted the require_relative_pa_4914 branch March 3, 2023 02:00
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.

None yet

2 participants