Skip to content

Commit

Permalink
Update run-context.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored May 9, 2024
1 parent dd0aec3 commit 2b26608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/run-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ export class RunContextBase<GeneratorType extends BaseGenerator = DefaultGenerat
const promptCallback = (answer, opts) => {

Check failure on line 668 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (macos-latest, 18.x)

The variable `opts` should be named `options`. A more descriptive name will do too.

Check failure on line 668 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 16.x)

The variable `opts` should be named `options`. A more descriptive name will do too.

Check failure on line 668 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 16.x)

The variable `opts` should be named `options`. A more descriptive name will do too.

Check failure on line 668 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 18.x)

The variable `opts` should be named `options`. A more descriptive name will do too.

Check failure on line 668 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (macos-latest, 16.x)

The variable `opts` should be named `options`. A more descriptive name will do too.

Check failure on line 668 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 18.x)

The variable `opts` should be named `options`. A more descriptive name will do too.

Check failure on line 668 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (macos-latest, 16.x)

The variable `opts` should be named `options`. A more descriptive name will do too.

Check failure on line 668 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (windows-latest, 16.x)

The variable `opts` should be named `options`. A more descriptive name will do too.

Check failure on line 668 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (windows-latest, 18.x)

The variable `opts` should be named `options`. A more descriptive name will do too.

Check failure on line 668 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (windows-latest, 16.x)

The variable `opts` should be named `options`. A more descriptive name will do too.

Check failure on line 668 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (macos-latest, 18.x)

The variable `opts` should be named `options`. A more descriptive name will do too.

Check failure on line 668 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (windows-latest, 18.x)

The variable `opts` should be named `options`. A more descriptive name will do too.
const { question } = opts;
this.askedQuestions.push({ name: question.name, answer });
return this.adapterOptions.callback ? this.adapterOptions.callback(answer, opts) : answer;
return this.adapterOptions?.callback ? this.adapterOptions.callback(answer, opts) : answer;
};
const testEnv = await this.helpers.createTestEnv(this.envOptions.createEnv, {

Check failure on line 673 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (macos-latest, 18.x)

Expected blank line before this statement.

Check failure on line 673 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 16.x)

Expected blank line before this statement.

Check failure on line 673 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 16.x)

Expected blank line before this statement.

Check failure on line 673 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 18.x)

Expected blank line before this statement.

Check failure on line 673 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (macos-latest, 16.x)

Expected blank line before this statement.

Check failure on line 673 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 18.x)

Expected blank line before this statement.

Check failure on line 673 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (macos-latest, 16.x)

Expected blank line before this statement.

Check failure on line 673 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (windows-latest, 16.x)

Expected blank line before this statement.

Check failure on line 673 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (windows-latest, 18.x)

Expected blank line before this statement.

Check failure on line 673 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (windows-latest, 16.x)

Expected blank line before this statement.

Check failure on line 673 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (macos-latest, 18.x)

Expected blank line before this statement.

Check failure on line 673 in src/run-context.ts

View workflow job for this annotation

GitHub Actions / build (windows-latest, 18.x)

Expected blank line before this statement.
cwd: this.settings.forwardCwd ? this.targetDirectory : undefined,
Expand Down

0 comments on commit 2b26608

Please sign in to comment.