Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
dalance committed Apr 27, 2024
1 parent 42c8c51 commit b01d745
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,16 @@ function getImage() {
//}

console.log(os);
console.log(image);
if (os.os === 'linux') {
if (os.dist === 'Ubuntu') {
image = `ubuntu-${ os.release }`;
}
}
console.log(image);
});

console.log(image);
return image;
}

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ function getImage() {
//}

console.log(os);
console.log(image);
if (os.os === 'linux') {
if (os.dist === 'Ubuntu') {
image = `ubuntu-${ os.release }`;
}
}
console.log(image);
});

console.log(image);
return image;
}

Expand Down

0 comments on commit b01d745

Please sign in to comment.