Skip to content

Commit

Permalink
Merge pull request #384 from pattern-lab/dev
Browse files Browse the repository at this point in the history
alter check for error to attempt to be cross-platform
  • Loading branch information
Brian Muenzenmeyer authored Jul 6, 2016
2 parents 8c93f73 + d38101e commit 2fea50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/pattern_assembler.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ var pattern_assembler = function () {
}
catch (err) {
// do nothing when file not found
if (err.errno !== -4058) {
if (err.code !== 'ENOENT') {
console.log('there was an error setting pattern keys after markdown parsing of the companion file for pattern ' + currentPattern.patternPartial);
console.log(err);
}
Expand Down

0 comments on commit 2fea50c

Please sign in to comment.