Skip to content

Commit 5f9960f

Browse files
committed
fix linter
1 parent da08761 commit 5f9960f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/contentful.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ const getEnvironment = async (options) => {
176176
throw new Error(`Environment "${targetEnvironmentId}" is not available in space "${spaceId}"`);
177177
} else {
178178
throw new Error(
179-
'Missing environment id. Use -e <environment-id> or set environment variable CONTENTFUL_ENVIRONMENT_ID',
179+
'Missing environment id. Use -e <environment-id> or set environment variable CONTENTFUL_ENVIRONMENT_ID'
180180
);
181181
}
182182

@@ -269,7 +269,7 @@ const getLinkedEntries = (entries, allEntries, options) => {
269269
const entryIds = (entries || []).map((entry) => getContentId(entry));
270270
const linkedIds = (entries || []).reduce((result, entry) => [...result, ...getLinkedIds(entry, LINK_TYPE_ENTRY)], []);
271271
const newIds = linkedIds.filter(
272-
(id) => !collectedIds.includes(id) && !entryIds.includes(id) && includeIds.includes(id),
272+
(id) => !collectedIds.includes(id) && !entryIds.includes(id) && includeIds.includes(id)
273273
);
274274
const newEntries = allEntries.filter((entry) => newIds.includes(getContentId(entry)));
275275

0 commit comments

Comments
 (0)