Skip to content

Commit

Permalink
Suppress path property
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmouk committed Mar 28, 2018
1 parent 2ff4a3a commit 8716845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ var flatten = function(options) {
});
}

if (json.path && typeof json.path === 'string') {
if (include("path") && json.path && typeof json.path === 'string') {
moduleInfo.path = json.path;
}

Expand Down

0 comments on commit 8716845

Please sign in to comment.