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