fix: fix typo in error messages when a property does not exist (#4310)

This commit is contained in:
Jonathan Bennetts
2023-02-23 08:33:43 +00:00
committed by GitHub
parent 4a209e1dd9
commit 3af3db160b
45 changed files with 64 additions and 64 deletions

View File

@@ -261,7 +261,7 @@ export class Twist implements INodeType {
if (binaryData === undefined) {
throw new NodeOperationError(
this.getNode(),
`No binary data property "${binaryProperty}" does not exists on item!`,
`Item has no binary property called "${binaryProperty}"`,
{ itemIndex: i },
);
}
@@ -370,7 +370,7 @@ export class Twist implements INodeType {
if (binaryData === undefined) {
throw new NodeOperationError(
this.getNode(),
`No binary data property "${binaryProperty}" does not exists on item!`,
`Item has no binary property called "${binaryProperty}"`,
{ itemIndex: i },
);
}
@@ -449,7 +449,7 @@ export class Twist implements INodeType {
if (binaryData === undefined) {
throw new NodeOperationError(
this.getNode(),
`No binary data property "${binaryProperty}" does not exists on item!`,
`Item has no binary property called "${binaryProperty}"`,
{ itemIndex: i },
);
}
@@ -574,7 +574,7 @@ export class Twist implements INodeType {
if (binaryData === undefined) {
throw new NodeOperationError(
this.getNode(),
`No binary data property "${binaryProperty}" does not exists on item!`,
`Item has no binary property called "${binaryProperty}"`,
{ itemIndex: i },
);
}
@@ -658,7 +658,7 @@ export class Twist implements INodeType {
if (binaryData === undefined) {
throw new NodeOperationError(
this.getNode(),
`No binary data property "${binaryProperty}" does not exists on item!`,
`Item has no binary property called "${binaryProperty}"`,
{ itemIndex: i },
);
}
@@ -766,7 +766,7 @@ export class Twist implements INodeType {
if (binaryData === undefined) {
throw new NodeOperationError(
this.getNode(),
`No binary data property "${binaryProperty}" does not exists on item!`,
`Item has no binary property called "${binaryProperty}"`,
{ itemIndex: i },
);
}