Skip to content

Commit

Permalink
chore: use module import feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol-Baranwal committed Oct 16, 2023
1 parent 5b2c25b commit 72931c6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
"use strict";
// import * as core from "@actions/core";
// import * as github from "@actions/github";
Object.defineProperty(exports, "__esModule", { value: true });
const core = require("@actions/core");
const github = require("@actions/github");
// const core = require("@actions/core");
// const github = require("@actions/github");
async function HandleMultipleIssues() {
var _a;
try {
Expand Down
8 changes: 4 additions & 4 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// import * as core from "@actions/core";
// import * as github from "@actions/github";
import * as core from "@actions/core";
import * as github from "@actions/github";

const core = require("@actions/core");
const github = require("@actions/github");
// const core = require("@actions/core");
// const github = require("@actions/github");

async function HandleMultipleIssues() {
try {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"typescript": "^5.2.2"
},
"engines": {
"node": "16"
"node": "16.x"
}
}

0 comments on commit 72931c6

Please sign in to comment.