Update index

Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar 2023-09-17 13:54:11 +03:00
parent e386f9295f
commit 5b0b91b542
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -1,6 +1,6 @@
import * as core from '@actions/core'
import * as github from '@actions/github'
import * as fs from 'fs';
const core = require('@actions/core')
const github = require('@actions/github')
const fs = require('fs')
try {
const label = core.getInput('label');
console.log(`Label: ${label}`)
@ -8,7 +8,7 @@ try {
core.setOutput("label", label);
fs.readFile('/Readme.md', 'utf8', (err, data) => {
fs.readFile('/README.md', 'utf8', (err, data) => {
if (err) {
console.error(err);
return;