Skip to content

Commit ab3af09

Browse files
committed
Fixing typo
1 parent 7eb1ba2 commit ab3af09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const path = require('path');
55
const util = require('util');
66
const exec = util.promisify(require('child_process').exec);
77
const axios = require('axios');
8-
const version = require('./utils/version_cleaner')(process.args[process.args.length - 1]);
8+
const version = require('./utils/version_cleaner')(process.argv[process.argv.length - 1]);
99
const downloadURL = `https://nodejs.org/dist/v${version}/node-v${version}-linux-x64.tar.xz`;
1010

1111
async function main() {

0 commit comments

Comments
 (0)