Skip to content

Commit ef93c65

Browse files
change name of function
1 parent 1a2c87a commit ef93c65

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/cli/MacCodacyCli.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class MacCodacyCli extends CodacyCli {
4646
}
4747
}
4848

49-
protected async hasIdentificationParams(params: Record<string, string> = {}): Promise<boolean> {
49+
protected async validateIdentificationParameters(params: Record<string, string> = {}): Promise<boolean> {
5050
try {
5151
const cliMode = await this.checkCLIMode()
5252
if (cliMode === 'remote' && Object.keys(params).length === 0) {
@@ -128,7 +128,7 @@ export class MacCodacyCli extends CodacyCli {
128128
const updateCommand = `${this.getCliCommand()} update`
129129
const resetCommand = `${this.getCliCommand()} config reset`
130130
try {
131-
const hasIdentificationParams = await this.hasIdentificationParams(resetParams)
131+
const hasIdentificationParams = await this.validateIdentificationParameters(resetParams)
132132
if (!hasIdentificationParams) {
133133
Logger.debug('CLI mode is remote and no identification parameters provided. Skipping update and config reset.')
134134
return
@@ -249,7 +249,7 @@ export class MacCodacyCli extends CodacyCli {
249249
const discoverParams = this.getIdentificationParameters()
250250

251251
try {
252-
const hasIdentificationParams = await this.hasIdentificationParams(discoverParams)
252+
const hasIdentificationParams = await this.validateIdentificationParameters(discoverParams)
253253
if (!hasIdentificationParams) {
254254
Logger.debug('CLI mode is remote and no identification parameters provided. Skipping config discover.')
255255
return

0 commit comments

Comments
 (0)