-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#7316) List faces using an autoloader
Previously, calling Puppet::Interface.faces generated a different list of face applications than those included in Puppet::Application.available_application_names, since the former only considered the $LOAD_PATH, and the latter used an Autoloader, which includes gem directories and the current environment's modulepath. From what I can tell, the method is never used, as puppet itself accesses faces via Puppet::Interface[name, version] method. However, if someone had called `faces` it would have excluded faces that could be loaded via require.
- Loading branch information
1 parent
cdd3385
commit 38571f5
Showing
2 changed files
with
9 additions
and
10 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
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