Remove unused method argument (#1740)

This commit is contained in:
Charis Kyriakou
2022-11-10 08:18:04 +00:00
committed by GitHub
parent 47af1f8c05
commit 71297e360b

View File

@@ -123,7 +123,7 @@ async function findDataset(parentDirectory: string): Promise<vscode.Uri> {
// exported for testing
export async function findSourceArchive(
databasePath: string, silent = false
databasePath: string
): Promise<vscode.Uri | undefined> {
const relativePaths = ['src', 'output/src_archive'];
@@ -138,11 +138,10 @@ export async function findSourceArchive(
return vscode.Uri.file(basePath);
}
}
if (!silent) {
void showAndLogInformationMessage(
`Could not find source archive for database '${databasePath}'. Assuming paths are absolute.`
);
}
void showAndLogInformationMessage(
`Could not find source archive for database '${databasePath}'. Assuming paths are absolute.`
);
return undefined;
}