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

@@ -163,7 +163,7 @@ export function getNodeParameter(
): NodeParameterValue | INodeParameters | NodeParameterValue[] | INodeParameters[] | object {
const nodeType = workflow.nodeTypes.getByNameAndVersion(node.type, node.typeVersion);
if (nodeType === undefined) {
throw new Error(`Node type "${node.type}" is not known so can not return paramter value!`);
throw new Error(`Node type "${node.type}" is not known so can not return parameter value!`);
}
const value = get(node.parameters, parameterName, fallbackValue);
@@ -329,7 +329,7 @@ export function getExecuteFunctions(
}
} catch (error) {
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
console.error(`There was a problem sending messsage to UI: ${error.message}`);
console.error(`There was a problem sending message to UI: ${error.message}`);
}
},
async sendResponse(response: IExecuteResponsePromiseData): Promise<void> {

View File

@@ -2249,7 +2249,7 @@ describe('Workflow', () => {
},
{
description:
'One property which is dependeny on two identically named properties of which only one gets displayed with different options. No value set at all.',
'One property which is dependency on two identically named properties of which only one gets displayed with different options. No value set at all.',
input: {
nodePropertiesArray: [
{
@@ -2360,7 +2360,7 @@ describe('Workflow', () => {
},
{
description:
'One property which is dependeny on two identically named properties of which only one gets displayed with different options. No value set at all. Order reversed',
'One property which is dependency on two identically named properties of which only one gets displayed with different options. No value set at all. Order reversed',
input: {
nodePropertiesArray: [
{
@@ -2471,7 +2471,7 @@ describe('Workflow', () => {
},
{
description:
'One property which is dependeny on two identically named properties of which only one gets displayed with different options. No value set at all.',
'One property which is dependency on two identically named properties of which only one gets displayed with different options. No value set at all.',
input: {
nodePropertiesArray: [
{

View File

@@ -167,7 +167,7 @@ describe('RoutingNode', () => {
},
},
{
description: 'mutliple parameters, complex example with everything',
description: 'multiple parameters, complex example with everything',
input: {
nodeParameters: {
multipleFields: {
@@ -967,7 +967,7 @@ describe('RoutingNode', () => {
],
},
{
description: 'mutliple parameters, complex example with everything',
description: 'multiple parameters, complex example with everything',
input: {
node: {
parameters: {
@@ -1573,7 +1573,7 @@ describe('RoutingNode', () => {
],
},
{
description: 'single parameter, mutliple postReceive: rootProperty, setKeyValue, sort',
description: 'single parameter, multiple postReceive: rootProperty, setKeyValue, sort',
input: {
nodeType: {
requestDefaults: {

View File

@@ -972,7 +972,7 @@ describe('Workflow', () => {
},
// TODO: Make that this test does not fail!
// {
// description: 'return resolved value when short "data" syntax got used in expression on paramter of not active node which got referenced by active one',
// description: 'return resolved value when short "data" syntax got used in expression on parameter of not active node which got referenced by active one',
// input: {
// Node1: {
// parameters: {