Skip to content

Commit b7cf520

Browse files
committed
Fix error in RepositoryMap.xml
Add additional logging to tell you which file failed hash match
1 parent 15e5ea3 commit b7cf520

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ ___Below is an example RepositoryMap.xml that I will endeavour to keep up to dat
193193
<hashtype>sha1</hashtype>
194194
</bitrate>
195195
<bitrate thirtytwobit="true">
196-
<filelocation>https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.15.0-win32.zip</filelocation>
196+
<filelocation>https://github.com/mozilla/geckodriver/releases/download/v0.15.0/geckodriver-v0.15.0-win32.zip</filelocation>
197197
<hash>896d88662371932dd666f8268c9718bda09f280a</hash>
198198
<hashtype>sha1</hashtype>
199199
</bitrate>

src/main/java/com/lazerycode/selenium/download/FileHashChecker.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public boolean fileIsValid() throws IOException, MojoExecutionException {
4646
return true;
4747
}
4848

49+
LOG.error("File : '" + fileToCheck.getName() + "'.");
4950
LOG.error("Expected file hash : '" + expectedHash + "'.");
5051
LOG.error("Actual file hash : '" + actualFileHash + "'.");
5152

src/main/resources/RepositoryMap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
<hashtype>sha1</hashtype>
7272
</bitrate>
7373
<bitrate thirtytwobit="true">
74-
<filelocation>https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.15.0-win32.zip</filelocation>
74+
<filelocation>https://github.com/mozilla/geckodriver/releases/download/v0.15.0/geckodriver-v0.15.0-win32.zip</filelocation>
7575
<hash>896d88662371932dd666f8268c9718bda09f280a</hash>
7676
<hashtype>sha1</hashtype>
7777
</bitrate>

0 commit comments

Comments
 (0)