Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenWeatherford committed Oct 23, 2024
1 parent 88ca931 commit eaeecb9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/vscode-bicep/src/commands/createConfigurationFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export class CreateBicepConfigurationFile implements Command {
let selectedPath: string = recommendedPath;

if (!suppressQuery) {
// eslint-disable-next-line no-constant-condition
while (true) {
const response = await window.showSaveDialog({
defaultUri: Uri.file(selectedPath),
Expand Down
2 changes: 0 additions & 2 deletions src/vscode-bicep/src/commands/decompileParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ export class DecompileParamsCommand implements Command {
}

private static async selectBicepFile(context: IActionContext): Promise<Uri | undefined> {
// eslint-disable-next-line no-constant-condition
while (true) {
const quickPickItems: IAzureQuickPickItem<string>[] = [
{
Expand Down Expand Up @@ -172,7 +171,6 @@ export class DecompileParamsCommand implements Command {
private static async getUniquePath(bicepparamPath: DocumentUri): Promise<string> {
const parsedPath = path.parse(bicepparamPath);
let appendNumber = 2;
// eslint-disable-next-line no-constant-condition
while (true) {
const uniquePath = path.join(parsedPath.dir, `${parsedPath.name}${appendNumber}${parsedPath.ext}`);
if (!(await fse.pathExists(uniquePath))) {
Expand Down
1 change: 0 additions & 1 deletion src/vscode-bicep/src/commands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,6 @@ export class DeployCommand implements Command {
}

private async selectParameterFile(context: IActionContext, sourceUri: Uri): Promise<string | undefined> {
// eslint-disable-next-line no-constant-condition
while (true) {
let parameterFilePath: string;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export function getTextAfterFormattingChanges(

const textToMatchNoWhitespace = removeWhitespace(textToMatch);

// eslint-disable-next-line no-constant-condition
while (true) {
let editorChar = editorText.charAt(editorOffset);
const textChar = textToMatchNoWhitespace.charAt(textOffset);
Expand Down

0 comments on commit eaeecb9

Please sign in to comment.