mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-11 03:26:58 +02:00
Fix Faker issue
This commit is contained in:
@@ -212,15 +212,6 @@ function initialize(workerData: PluginWorkerData) {
|
|||||||
}
|
}
|
||||||
importModule();
|
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
|
// Message comes into the plugin to be processed
|
||||||
parentPort!.on('message', async (event: InternalEvent) => {
|
parentPort!.on('message', async (event: InternalEvent) => {
|
||||||
const ctx = newCtx(event);
|
const ctx = newCtx(event);
|
||||||
|
|||||||
Reference in New Issue
Block a user