Skip to content

Commit be92a20

Browse files
committed
Remove code for opening file
1 parent 868c400 commit be92a20

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ const core = require("@actions/core");
44
const github = require("@actions/github");
55

66
try {
7-
const filename = core.getInput("filename");
8-
fs.promises.readFile(filename, "utf8").then((data) => {
9-
console.log(data);
10-
});
7+
// const filename = core.getInput("filename");
8+
// fs.promises.readFile(filename, "utf8").then((data) => {
9+
// console.log(data);
10+
// });
1111
// `who-to-greet` input defined in action metadata file
1212
const nameToGreet = core.getInput("who-to-greet");
1313
console.log(`Hello ${nameToGreet}!`);

0 commit comments

Comments
 (0)