forked from Qortal/qortal
Delete .sha256 file which was left lying around after running the bootstrap unit tests.
This commit is contained in:
parent
49dd63af1e
commit
69e557e70d
@ -208,8 +208,11 @@ public class BootstrapTests extends Common {
|
|||||||
|
|
||||||
private void deleteBootstraps() throws IOException {
|
private void deleteBootstraps() throws IOException {
|
||||||
try {
|
try {
|
||||||
Path path = Paths.get(String.format("%s%s", Settings.getInstance().getBootstrapFilenamePrefix(), "bootstrap-archive.7z"));
|
Path archivePath = Paths.get(String.format("%s%s", Settings.getInstance().getBootstrapFilenamePrefix(), "bootstrap-archive.7z"));
|
||||||
Files.delete(path);
|
Files.delete(archivePath);
|
||||||
|
|
||||||
|
Path sha256Path = Paths.get(String.format("%s%s", Settings.getInstance().getBootstrapFilenamePrefix(), "bootstrap-archive.7z.sha256"));
|
||||||
|
Files.delete(sha256Path);
|
||||||
|
|
||||||
} catch (NoSuchFileException e) {
|
} catch (NoSuchFileException e) {
|
||||||
// Nothing to delete
|
// Nothing to delete
|
||||||
|
Loading…
x
Reference in New Issue
Block a user