"Remove" fails #2

Open
opened 2020-08-29 06:04:29 +00:00 by Ghost · 0 comments
if (!records.length) {
						records.push({
							data: 'free_to_delete',
							name: 'remove_placeholder',
							ttl: 600
						});
					}

gives a failure

if (records.length == 0) {
						records.push({
							data: 'free_to_delete',
							name: 'remove_placeholder',
							ttl: 600
						});
					}

works

``` if (!records.length) { records.push({ data: 'free_to_delete', name: 'remove_placeholder', ttl: 600 }); } ``` gives a failure ``` if (records.length == 0) { records.push({ data: 'free_to_delete', name: 'remove_placeholder', ttl: 600 }); } ``` works
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: root/acme-dns-01-godaddy.js#2
No description provided.