fix: correct all the spelling typos (#3960)

* Improve code health
Fix TS typos in local variables
Fix CSS typos in local styles
Fix typos in comments
Fix typos in strings

* Fix order of n8n setup sections in CONTRIBUTING.md
This commit is contained in:
Aaron Delasy
2022-09-02 17:13:17 +03:00
committed by GitHub
parent a3791c22b3
commit 49c85a1df8
69 changed files with 167 additions and 167 deletions

View File

@@ -161,7 +161,7 @@ export async function checkPermissionsForExecution(
credentialNames.forEach((credentialName) => {
const credentialDetail = node.credentials![credentialName];
// If it does not contain an id, it means it is a very old
// workflow. Nowaways it should not happen anymore.
// workflow. Nowadays it should not happen anymore.
// Migrations should handle the case where a credential does
// not have an id.
if (credentialDetail.id === null) {
@@ -189,7 +189,7 @@ export async function checkPermissionsForExecution(
return true;
}
// If this check happens on top, we may get
// unitialized db errors.
// uninitialized db errors.
// Db is certainly initialized if workflow uses credentials.
const user = await getUserById(userId);
if (user.globalRole.name === 'owner') {