Fix Faker issue

This commit is contained in:
Gregory Schier
2025-01-21 13:23:13 -08:00
parent 5d505d1366
commit 4ae045cf18

View File

@@ -212,15 +212,6 @@ function initialize(workerData: PluginWorkerData) {
}
importModule();
if (pkg.name?.includes('yaak-faker')) {
sendPayload(
{ type: 'none' },
{ type: 'error_response', error: 'Failed to initialize Faker plugin' },
null,
);
return;
}
// Message comes into the plugin to be processed
parentPort!.on('message', async (event: InternalEvent) => {
const ctx = newCtx(event);