Skip to content

Commit 33918fb

Browse files
committed
refactor: remove verbose code
1 parent e49cf78 commit 33918fb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "use-app-token",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "Run GitHub Actions as a GitHub App by using the app's authentication token",
55
"main": "dist/index.js",
66
"files": [

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
import { getBooleanInput } from '@actions/core'
21
import { isPost } from './state'
32
import { run, cleanup } from './action'
43

54
if (!isPost) {
65
run()
7-
} else if (getBooleanInput('clean')) {
6+
} else {
87
cleanup()
98
}

0 commit comments

Comments
 (0)