-
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.
(PUP-11937) Skip autorequire if exec's param is deferred and lazily e…
…valuated If an exec's 'command' parameter is deferred and lazily evaluated, then we can't autorequire the file that the command will execute. This is because we won't know what the command will be until the exec is evaluated. But that means it's already too late to add a relationship from the file resource to the exec resource. In this situation an explicit relationship must be added to ensure the file resource is evaluated before the exec. The same is true for the 'onlyif' and 'unless' exec parameters.
- Loading branch information
1 parent
1145d44
commit a316b92
Showing
2 changed files
with
28 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
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