mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-17 22:46:48 +01:00
Fix Faker issue
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user