Skip to content

Commit

Permalink
chore(shell-api): fix linting errors on main (#1971)
Browse files Browse the repository at this point in the history
Introduced in 16cbc95
  • Loading branch information
addaleax authored May 2, 2024
1 parent 3caf293 commit 75f6364
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/shell-api/src/collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export default class Collection extends ShellApiWithMongoClass {
pipeline = args || [];
}
if ('background' in options) {
this._instanceState.printWarning(
await this._instanceState.printWarning(
aggregateBackgroundOptionNotSupportedHelp
);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/shell-api/src/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ export default class Database extends ShellApiWithMongoClass {
options?: Document
): Promise<AggregationCursor> {
if ('background' in (options ?? {})) {
this._instanceState.printWarning(
await this._instanceState.printWarning(
aggregateBackgroundOptionNotSupportedHelp
);
}
Expand Down

0 comments on commit 75f6364

Please sign in to comment.