fix: Expand nodes-base formatting validation (no-changelog) (#4689)

*  Simplify `format` command

* 🎨 Format more deeply nested files
This commit is contained in:
Iván Ovejero
2022-11-22 13:43:28 +01:00
committed by GitHub
parent ad6c6f60a1
commit eafef019d7
39 changed files with 8225 additions and 374 deletions

View File

@@ -315,7 +315,8 @@ export class If implements INodeType {
let item: INodeExecutionData;
let combineOperation: string;
const isDateObject = (value: NodeParameterValue) => Object.prototype.toString.call(value) === '[object Date]';
const isDateObject = (value: NodeParameterValue) =>
Object.prototype.toString.call(value) === '[object Date]';
const isDateInvalid = (value: NodeParameterValue) => value?.toString() === 'Invalid Date';
// The compare operations