Skip to content

Commit 9aeb5db

Browse files
committed
improve error message
1 parent 56379e0 commit 9aeb5db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/lib/patternlab.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,13 @@ var patternlab_engine = function (config) {
146146
try {
147147
patternlab.data = fs.readJSONSync(path.resolve(paths.source.data, 'data.json'));
148148
} catch (ex) {
149-
console.log('missing ' + paths.source.data + '/data.json Pattern Lab may not work without this file.');
149+
console.log('missing ' + paths.source.data + 'data.json Pattern Lab may not work without this file.');
150150
patternlab.data = {};
151151
}
152152
try {
153153
patternlab.listitems = fs.readJSONSync(path.resolve(paths.source.data, 'listitems.json'));
154154
} catch (ex) {
155-
console.log('missing ' + paths.source.data + '/listitems.json Pattern Lab may not work without this file.');
155+
console.log('missing ' + paths.source.data + 'listitems.json Pattern Lab may not work without this file.');
156156
patternlab.listitems = {};
157157
}
158158
try {

0 commit comments

Comments
 (0)