mirror of
https://github.com/actions/setup-node.git
synced 2025-12-15 01:01:38 +08:00
built done for changes
This commit is contained in:
@@ -21,7 +21,10 @@ export async function run() {
|
||||
const versionFile = core.getInput('node-version-file');
|
||||
|
||||
if (!!versionFile) {
|
||||
const versionFilePath = path.join(process.env.GITHUB_WORKSPACE!, versionFile);
|
||||
const versionFilePath = path.join(
|
||||
process.env.GITHUB_WORKSPACE!,
|
||||
versionFile
|
||||
);
|
||||
version = installer.parseNodeVersionFile(
|
||||
fs.readFileSync(versionFilePath, 'utf8')
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user