mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix spelling (#3181)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
1 parent
9903417fed
commit
e87b4836be
39 files changed
+54
-54
No files matched your search
@@ -225,7 +225,7 @@ export class ExtensionInstallationStateStore {
|
||||
}
|
||||
|
||||
/**
|
||||
* If there is at least one extension currently ininstalling
|
||||
* If there is at least one extension currently uninstalling
|
||||
*/
|
||||
static get anyUninstalling(): boolean {
|
||||
return ExtensionInstallationStateStore.uninstalling > 0;
|
||||
|
||||
@@ -49,7 +49,7 @@ import { docsUrl } from "../../../common/vars";
|
||||
|
||||
function getMessageFromError(error: any): string {
|
||||
if (!error || typeof error !== "object") {
|
||||
return "an error has occured";
|
||||
return "an error has occurred";
|
||||
}
|
||||
|
||||
if (error.message) {
|
||||
@@ -63,7 +63,7 @@ function getMessageFromError(error: any): string {
|
||||
const rawMessage = String(error);
|
||||
|
||||
if (rawMessage === String({})) {
|
||||
return "an error has occured";
|
||||
return "an error has occurred";
|
||||
}
|
||||
|
||||
return rawMessage;
|
||||
|
||||
Reference in new issue
Block a user