Skip to content

Commit

Permalink
Add support for accepting any format in ChapterGenerator snapshotsFro…
Browse files Browse the repository at this point in the history
…mChapters() method
  • Loading branch information
Mtillmann committed Jan 22, 2024
1 parent 9f41c9d commit 1feb5a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CLI/ChapterGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export class ChapterGenerator {

snapshotsFromChapters() {
lstatSync(this.options.inputChapters);
//todo make this accept any supported format
let json = JSON.parse(readFileSync(this.options.inputChapters, 'utf-8'));


Expand Down

0 comments on commit 1feb5a5

Please sign in to comment.