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:
parent
5da183dcc2
commit
ebdd5a069f
9 changed files with 5 additions and 9 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue