Skip to content

Commit 6d0e52b

Browse files
committed
WIP
1 parent 3d66769 commit 6d0e52b

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ runs:
1616
with:
1717
script: |
1818
const { main } = await import('${{ github.workspace }}/dist/index.js')
19-
console.log(main)
2019
await main()

dist/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ var __webpack_exports__ = {};
2929
/* harmony export */ i: () => (/* binding */ main)
3030
/* harmony export */ });
3131
function main() {
32-
console.log("fsdoo")
32+
getRubyVersion();
33+
}
34+
35+
function getRubyVersion() {
36+
console.log("Get Ruby version")
3337
}
3438

3539
var __webpack_exports__main = __webpack_exports__.i;

src/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
export function main() {
2-
console.log("fsdoo")
2+
getRubyVersion();
3+
}
4+
5+
function getRubyVersion() {
6+
console.log("Get Ruby version")
37
}

0 commit comments

Comments
 (0)