Skip to content

Commit 83b8136

Browse files
lint fix
1 parent 59eda94 commit 83b8136

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/db_ref.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ export class DBRef extends BSONValue {
121121
inspect(this.oid, options),
122122
...(this.db ? [inspect(this.db, options)] : []),
123123
...(Object.keys(this.fields).length > 0 ? [inspect(this.fields, options)] : [])
124-
].map(arg => addQuotes ? `'${arg}'` : arg);
124+
].map(arg => (addQuotes ? `'${arg}'` : arg));
125125

126-
args[1] = addQuotes ? `new ObjectId(${args[1]})` : args[1];
126+
args[1] = addQuotes ? `new ObjectId(${args[1]})` : args[1];
127127

128128
return `new DBRef(${args.join(', ')})`;
129129
}

0 commit comments

Comments
 (0)