Skip to content

Commit

Permalink
feat: 🎸 prepare "meta" for the seo-lint package
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Reese committed May 18, 2021
1 parent d19b4a3 commit 1184ada
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/seo-check/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable node/no-unsupported-features/es-syntax */
const { Tester } = require('@nickreese/seo-lint');

const notProd = process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'PRODUCTION';
Expand Down Expand Up @@ -49,7 +50,7 @@ const plugin = {
description: 'test',
run: async ({ settings, plugin }) => {
if (settings.context === 'build') {
const results = await plugin.tester.folder(settings.distDir);
const { meta, ...results } = await plugin.tester.folder(settings.distDir);
plugin.config.handleSiteResults(results);
}
},
Expand Down

0 comments on commit 1184ada

Please sign in to comment.