Skip to content

Commit

Permalink
Merge pull request #22 from maks/listings-debug-crash
Browse files Browse the repository at this point in the history
fix crash from print, improve docs
  • Loading branch information
maks authored Aug 7, 2020
2 parents 466c6d4 + 10d5b0c commit 55acadd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ sort_by: lastModified
**note:** `sortby` not yet implemented.

**DSG** injects your listings into a global _lists variable. For each file all of the files YAML front-matter properties are available along with the files:
**DSG** injects your listings into a global `_lists` variable. For each file all of the files YAML front-matter properties are available along with the files:

* `filename`: the files name without extension.
* `last_modified`: the files last modified date time stamp.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Generator {

final dataMap = _getDataMap(dataFiles);

_logger.info('Listings... ${listingsMap.keys}');
_logger.info('Listings... ${listingsMap?.keys}');

_logger.info('Generating .html files...');

Expand Down

0 comments on commit 55acadd

Please sign in to comment.