Skip to content

Commit 350c4e6

Browse files
committed
Revert "main: fix filesize"
This reverts commit d5c775d.
1 parent d5c775d commit 350c4e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ async function main() {
193193
core.setOutput("found_artifact", true)
194194
core.info('==> (found) Artifacts')
195195
for (const artifact of artifacts) {
196-
const size = filesize.filesize(artifact.size_in_bytes, { base: 10 })
196+
const size = filesize(artifact.size_in_bytes, { base: 10 })
197197
core.info(`\t==> Artifact:`)
198198
core.info(`\t==> ID: ${artifact.id}`)
199199
core.info(`\t==> Name: ${artifact.name}`)
@@ -263,7 +263,7 @@ async function main() {
263263

264264
function setExitMessage(ifNoArtifactFound, message) {
265265
core.setOutput("found_artifact", false)
266-
266+
267267
switch (ifNoArtifactFound) {
268268
case "fail":
269269
core.setFailed(message)

0 commit comments

Comments
 (0)