Skip to content

Commit 5759742

Browse files
Satisfy ESLint
1 parent be2aefc commit 5759742

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/effektManager.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -393,23 +393,23 @@ export class EffektManager {
393393
const currentVersion = await this.getEffektVersion();
394394
const latestVersion = await this.getLatestNPMVersion(
395395
this.effektNPMPackage,
396-
).catch(function(err: string) {
396+
).catch(function (_err: string) {
397397
return null;
398398
});
399399

400-
if(latestVersion === null) {
400+
if (latestVersion === null) {
401401
// requesting latest version from NPM failed
402402
if (currentVersion) {
403403
vscode.window.showWarningMessage(
404-
"Could not retrieve current Effekt version, using locally installed Effekt."
404+
'Could not retrieve current Effekt version, using locally installed Effekt.'
405405
);
406406
} else {
407407
vscode.window.showErrorMessage(
408-
"Effekt is not installed and we could not connect to NPM. Please check your network connection and reload."
408+
'Effekt is not installed and we could not connect to NPM. Please check your network connection and reload.'
409409
);
410410
}
411411
} else if (
412-
// check if the latest version strictly newer than the current version
412+
// check if the latest version strictly newer than the current version
413413
!currentVersion ||
414414
compareVersion(latestVersion, currentVersion, '>')
415415
) {

0 commit comments

Comments
 (0)