From f525ba37ee4fe6fa015ebe9901de0b4d5137ecff Mon Sep 17 00:00:00 2001 From: Chi Ma Date: Mon, 10 Jul 2023 21:48:44 +0700 Subject: [PATCH] fix(core): add missing perf_hooks import in tasks-runner/cache (#18043) (cherry picked from commit e25582780a296dfdf4783a855b5b7c9b1c144243) --- 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';