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

1
lib/analyze-action.js generated
View File

@@ -29,7 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.runPromise = exports.sendStatusReport = void 0;
const fs = __importStar(require("fs"));
const path_1 = __importDefault(require("path"));
// We need to import `performance` on Node 12
const perf_hooks_1 = require("perf_hooks");
const core = __importStar(require("@actions/core"));
const actionsUtil = __importStar(require("./actions-util"));