Skip to content

Commit 71297e3

Browse files
authored
Remove unused method argument (#1740)
1 parent 47af1f8 commit 71297e3

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

extensions/ql-vscode/src/databases.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ async function findDataset(parentDirectory: string): Promise<vscode.Uri> {
123123

124124
// exported for testing
125125
export async function findSourceArchive(
126-
databasePath: string, silent = false
126+
databasePath: string
127127
): Promise<vscode.Uri | undefined> {
128128
const relativePaths = ['src', 'output/src_archive'];
129129

@@ -138,11 +138,10 @@ export async function findSourceArchive(
138138
return vscode.Uri.file(basePath);
139139
}
140140
}
141-
if (!silent) {
142-
void showAndLogInformationMessage(
143-
`Could not find source archive for database '${databasePath}'. Assuming paths are absolute.`
144-
);
145-
}
141+
142+
void showAndLogInformationMessage(
143+
`Could not find source archive for database '${databasePath}'. Assuming paths are absolute.`
144+
);
146145
return undefined;
147146
}
148147

0 commit comments

Comments
 (0)