From c9eaacf0a1bb94827f509f91dfe3d07f33d39640 Mon Sep 17 00:00:00 2001 From: Chi Ma Date: Mon, 10 Jul 2023 14:57:54 +0700 Subject: [PATCH] fix(core): add missing perf_hooks import in tasks-runner/cache --- packages/nx/src/tasks-runner/cache.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nx/src/tasks-runner/cache.ts b/packages/nx/src/tasks-runner/cache.ts index fa3ed46fa2fd7..39e05d4c863f1 100644 --- a/packages/nx/src/tasks-runner/cache.ts +++ b/packages/nx/src/tasks-runner/cache.ts @@ -1,6 +1,7 @@ import { workspaceRoot } from '../utils/workspace-root'; import { mkdir, mkdirSync, pathExists, readFile, writeFile } from 'fs-extra'; import { join } from 'path'; +import { performance } from 'perf_hooks'; import { DefaultTasksRunnerOptions } from './default-tasks-runner'; import { spawn } from 'child_process'; import { cacheDir } from '../utils/cache-directory';