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

@@ -136,7 +136,7 @@ export class New extends Command {
// File does not exist. That is exactly what we want so go on.
}
// Make sure that the variables in the template file get formated
// Make sure that the variables in the template file get formatted
// in the correct way
const replaceValues = {
ClassNameReplace: changeCase.pascalCase(nodeName),
@@ -147,7 +147,7 @@ export class New extends Command {
await createTemplate(sourceFilePath, destinationFilePath, replaceValues);
this.log('\nExecution was successfull:');
this.log('\nExecution was successful:');
this.log('====================================');
this.log(`Node got created: ${destinationFilePath}`);

View File

@@ -33,7 +33,7 @@ export async function createCustomTsconfig() {
// Get path to simple tsconfig file which should be used for build
const tsconfigPath = join(__dirname, '../../src/tsconfig-build.json');
// Read the tsconfi file
// Read the tsconfig file
const tsConfigString = await fsReadFile(tsconfigPath, { encoding: 'utf8' });
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const tsConfig = JSON.parse(tsConfigString);

View File

@@ -34,7 +34,7 @@ export class ClassNameReplace implements INodeType {
let item: INodeExecutionData;
let myString: string;
// Itterates over all input items and add the key "myString" with the
// Iterates over all input items and add the key "myString" with the
// value the parameter "myString" resolves to.
// (This could be a different value for each item in case it contains an expression)
for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {