Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix import of post processor module in CLI #1633

Merged
merged 1 commit into from
Jul 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reffy.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import satisfies from 'semver/functions/satisfies.js';
import specs from 'web-specs' with { type: 'json' };
import packageConfig from './package.json' with { type: 'json' };
import { crawlSpecs } from './src/lib/specs-crawler.js';
import { modules } from './src/lib/post-processor.js';
import postProcessor from './src/lib/post-processor.js';
import { loadJSON } from './src/lib/util.js';

// Warn if version of Node.js does not satisfy requirements
Expand Down Expand Up @@ -69,7 +69,7 @@ async function parseSpecOption(input) {

function parsePostOption(input) {
if (input === 'core') {
return modules;
return postProcessor.modules;
}
else {
return input;
Expand Down
Loading