mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 17:26:27 +00:00
removed await from line 25 main.ts
This commit is contained in:
parent
ab0d6af666
commit
fa3de08e5c
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ export async function run() {
|
||||||
|
|
||||||
if (!!versionFile) {
|
if (!!versionFile) {
|
||||||
const versionFilePath = path.join(__dirname, '..', versionFile);
|
const versionFilePath = path.join(__dirname, '..', versionFile);
|
||||||
version = await installer.parseNodeVersionFile(
|
version = installer.parseNodeVersionFile(
|
||||||
fs.readFileSync(versionFilePath, 'utf8')
|
fs.readFileSync(versionFilePath, 'utf8')
|
||||||
);
|
);
|
||||||
core.info(`Resolved ${versionFile} as ${version}`);
|
core.info(`Resolved ${versionFile} as ${version}`);
|
||||||
|
|
Loading…
Add table
Reference in a new issue