Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dalance committed Apr 27, 2024
1 parent c62be02 commit 793f443
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ if (require.main === require.cache[eval('__filename')]) {
const getos = __nccwpck_require__(6068);

function getDownloadObject(version) {
const os = getos(function (e, os) { os });
var os;
getos(function (e, x) { os = x; });
var filename = '';
if (os.os === 'linux') {
if (os.dist === 'Ubuntu') {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const getos = require('getos');

function getDownloadObject(version) {
const os = getos(function (e, os) { return os; });
var os;
getos(function (e, x) { os = x; });
var filename = '';
if (os.os === 'linux') {
if (os.dist === 'Ubuntu') {
Expand Down

0 comments on commit 793f443

Please sign in to comment.