Skip to content

Commit

Permalink
chore(core): remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Jun 24, 2024
1 parent fad2203 commit eba4ddb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export async function loadRemoteNxPlugin(
return [nxPluginWorkerCache.get(cacheKey), () => {}];
}

const { ipcPath, worker } = await startPluginWorker(plugin);
const { ipcPath, worker } = await startPluginWorker();

const socket = await new Promise<Socket>((res, rej) => {
const socket = connect(ipcPath, () => {
Expand Down Expand Up @@ -277,7 +277,7 @@ function registerPendingPromise(
}

global.nxPluginWorkerCount ??= 0;
async function startPluginWorker(plugin: PluginConfiguration) {
async function startPluginWorker() {
// this should only really be true when running unit tests within
// the Nx repo. We still need to start the worker in this case,
// but its typescript.
Expand Down

0 comments on commit eba4ddb

Please sign in to comment.