Remove perf_hooks Node 12 comment

We don't need the import for Node 12 compat, but we do need it to make
the file compile.
This commit is contained in:
Henry Mercer 2023-01-23 18:13:08 +00:00
parent 5da183dcc2
commit ebdd5a069f
9 changed files with 5 additions and 9 deletions

View file

@ -1,6 +1,5 @@
import * as fs from "fs";
import path from "path";
// We need to import `performance` on Node 12
import { performance } from "perf_hooks";
import * as core from "@actions/core";

View file

@ -1,6 +1,6 @@
import * as fs from "fs";
import * as path from "path";
import { performance } from "perf_hooks"; // We need to import `performance` on Node 12
import { performance } from "perf_hooks";
import * as toolrunner from "@actions/exec/lib/toolrunner";
import del from "del";

View file

@ -1,6 +1,5 @@
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";