Skip to content

Commit

Permalink
Skip inspecting load modules when running in preview mode (#387)
Browse files Browse the repository at this point in the history
* Skip inspecting load modules when running in preview mode
Signed-off-by: Dennis Behm <[email protected]>
  • Loading branch information
dennis-behm authored Jul 13, 2023
1 parent e9c5ef3 commit 17a4b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/ImpactUtilities.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ def updateCollection(changedFiles, deletedFiles, renamedFiles) {
*/
def saveStaticLinkDependencies(String buildFile, String loadPDS, LogicalFile logicalFile) {
MetadataStore metadataStore = MetadataStoreFactory.getMetadataStore()
if (metadataStore && !props.error) {
if (metadataStore && !props.error && !props.preview) {
LinkEditScanner scanner = new LinkEditScanner()
if (props.verbose) println "*** Scanning load module for $buildFile"
LogicalFile scannerLogicalFile = scanner.scan(buildUtils.relativizePath(buildFile), loadPDS)
Expand Down

0 comments on commit 17a4b4d

Please sign in to comment.