mirror of
https://github.com/github/codeql-action.git
synced 2026-05-07 14:20:19 +00:00
Explicitly import performance for Node 12 compatibility
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import * as fs from "fs";
|
||||
import * as path from "path";
|
||||
// We need to import `performance` on Node 12
|
||||
import { performance } from "perf_hooks";
|
||||
|
||||
import * as yaml from "js-yaml";
|
||||
import * as semver from "semver";
|
||||
|
||||
Reference in New Issue
Block a user