Fixes bug where getBooleanInput is not available (#10)
* Updates core * Updates core * Change version * fix * run audit fix * Should be fn call
This commit is contained in:
2
index.js
2
index.js
@@ -8,7 +8,7 @@ const main = async () => {
|
||||
const trim = core.getBooleanInput('trim')
|
||||
let content = await fs.readFile(path, 'utf8')
|
||||
if (trim) {
|
||||
content = content.trim
|
||||
content = content.trim()
|
||||
}
|
||||
|
||||
core.setOutput('content', content)
|
||||
|
||||
4749
package-lock.json
generated
4749
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -15,11 +15,11 @@
|
||||
"publish": false
|
||||
},
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.2.6"
|
||||
"@actions/core": "^1.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@zeit/ncc": "^0.20.5",
|
||||
"np": "^5.1.3",
|
||||
"np": "^7.5.0",
|
||||
"prettier-standard": "^15.0.1",
|
||||
"standard": "^14.3.1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user