Skip to content

Commit 66e5712

Browse files
committed
Fixed A'nanatawas_loader so tests pass
1 parent d7fe9e5 commit 66e5712

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lesson_10/libraries/src/loaders/ananatawa_loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class AnanatawasLoader implements Loader {
2424
const readable = fs
2525
.createReadStream('data/media_items.csv', 'utf-8')
2626
.pipe(csv());
27-
for await (const row of readable) {
27+
for await (const row of readable) {
2828
const { id, title, type, year } = row;
2929
MediaItems.push(new MediaItem(id, title, type, year, []));
3030
}

lesson_10/libraries/src/loaders/loaders.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { AnthonyMaysLoader } from './anthony_mays_loader.js';
55

66
export const Loaders = Symbol.for('Loaders');
77

8-
const LOADER_PROVIDERS = [AnthonyMaysLoader, AnanatawasLoader];
8+
const LOADER_PROVIDERS = [AnthonyMaysLoader, AnanatawasLoader];
99

1010

1111
@Module({

0 commit comments

Comments
 (0)