Skip to content

Commit

Permalink
remove the redundant blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushNautiyalDeveloper committed Oct 3, 2023
1 parent 03c0146 commit 56a78dd
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions src/commands/config/context/add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ export default class ContextAdd extends Command {
);
return;
}
{
throw e;
}
}
}
}
2 changes: 0 additions & 2 deletions src/commands/config/context/current.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ export default class ContextCurrent extends Command {
);
return;
}
{
throw e;
}
}

if (fileContent) {
Expand Down
2 changes: 0 additions & 2 deletions src/commands/config/context/edit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ export default class ContextEdit extends Command {
this.log(`Context file "${CONTEXT_FILE_PATH}" is empty.`);
return;
}
{
throw e;
}
}
}
}
2 changes: 0 additions & 2 deletions src/commands/config/context/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ export default class ContextList extends Command {
);
return;
}
{
throw e;
}
}
}
}
2 changes: 0 additions & 2 deletions src/commands/config/context/remove.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ export default class ContextRemove extends Command {
this.log(`Context file "${CONTEXT_FILE_PATH}" is empty.`);
return;
}
{
throw e;
}
}
}
}
2 changes: 0 additions & 2 deletions src/commands/config/context/use.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ export default class ContextUse extends Command {
this.log(`Context file "${CONTEXT_FILE_PATH}" is empty.`);
return;
}
{
throw e;
}
}
}
}

0 comments on commit 56a78dd

Please sign in to comment.