Skip to content

Commit 047a6ad

Browse files
committed
Fix syntax issue with remote repo check
1 parent c82b960 commit 047a6ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/io/snyk/plugins/artifactory/scanner/ScannerModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ private Instant getLastModifiedDate(RepoPath repoPath) {
122122
private boolean isRemoteRepository(RepoPath repoPath) {
123123
String repoKey = repoPath.getRepoKey();
124124
RepositoryConfiguration repoConfig = repositories.getRepositoryConfiguration(repoKey);
125-
repoType = repoConfig.getType();
125+
String repoType = repoConfig.getType();
126126

127127
LOG.debug("Found repository type: {}", repoType);
128128

0 commit comments

Comments
 (0)