mirror of https://github.com/actions/toolkit
Remove "public" explicit accessibility
parent
140d6cd367
commit
8cdf51d182
|
@ -10,11 +10,12 @@
|
|||
"no-unused-vars": "off",
|
||||
"eslint-comments/no-use": "off",
|
||||
"import/no-namespace": "off",
|
||||
"@typescript-eslint/no-unused-vars": "error"
|
||||
"@typescript-eslint/no-unused-vars": "error",
|
||||
"@typescript-eslint/explicit-member-accessibility": ["error", {"accessibility": "no-public"}]
|
||||
},
|
||||
"env": {
|
||||
"node": true,
|
||||
"es6": true,
|
||||
"jest/globals": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,11 +42,11 @@ class Command {
|
|||
this.message = message
|
||||
}
|
||||
|
||||
public command: string
|
||||
public message: string
|
||||
public properties: {[key: string]: string}
|
||||
command: string
|
||||
message: string
|
||||
properties: {[key: string]: string}
|
||||
|
||||
public toString() {
|
||||
toString() {
|
||||
let cmdStr = CMD_PREFIX + this.command
|
||||
|
||||
if (this.properties && Object.keys(this.properties).length > 0) {
|
||||
|
|
Loading…
Reference in New Issue