Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer committed Mar 31, 2022
1 parent 51ecc7e commit 1b72617
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/store/addon/-private/system/fetch-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ interface PendingSaveItem {
resolver: RSVP.Deferred<any>;
snapshot: Snapshot;
identifier: RecordIdentifier;
options: { [k: string]: unknown;[SaveOp]: 'createRecord' | 'saveRecord' | 'updateRecord' };
options: { [k: string]: unknown; [SaveOp]: 'createRecord' | 'saveRecord' | 'updateRecord' };
queryRequest: Request;
}

Expand Down Expand Up @@ -370,8 +370,8 @@ export default class FetchManager {
if (missingSnapshots.length) {
warn(
'Ember Data expected to find records with the following ids in the adapter response but they were missing: [ "' +
missingSnapshots.map((r) => r.id).join('", "') +
'" ]',
missingSnapshots.map((r) => r.id).join('", "') +
'" ]',
false,
{
id: 'ds.store.missing-records-from-adapter',
Expand All @@ -393,9 +393,9 @@ export default class FetchManager {
if (pair) {
pair.resolver.reject(
error ||
new Error(
`Expected: '<${snapshot.modelName}:${snapshot.id}>' to be present in the adapter provided payload, but it was not found.`
)
new Error(
`Expected: '<${snapshot.modelName}:${snapshot.id}>' to be present in the adapter provided payload, but it was not found.`
)
);
}
}
Expand Down

0 comments on commit 1b72617

Please sign in to comment.