Skip to content

Commit

Permalink
Make the absence of source/_data/listitems.json a warning instead of …
Browse files Browse the repository at this point in the history
…an error

closes #475
  • Loading branch information
bmuenzenmeyer committed Sep 21, 2016
1 parent e82344b commit bfef92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/patternlab.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ var patternlab_engine = function (config) {
try {
patternlab.listitems = fs.readJSONSync(path.resolve(paths.source.data, 'listitems.json'));
} catch (ex) {
plutils.logRed('missing or malformed' + paths.source.data + 'listitems.json Pattern Lab may not work without this file.');
plutils.logOrange('WARNING: missing or malformed ' + paths.source.data + 'listitems.json file. Pattern Lab may not work without this file.');
patternlab.listitems = {};
}
try {
Expand Down

0 comments on commit bfef92f

Please # to comment.