Skip to content

Commit

Permalink
feat: unattended mode even for empty "-s" option
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp committed Apr 29, 2019
1 parent 248dea1 commit a9893e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/makes.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ if (options.s) {
preselectedFeatures = options.s.split(/,|:| /);
}

const unattended = preselectedFeatures.length > 0;
const unattended = options.hasOwnProperty('s');

makes(supplier, {
predefinedProperties,
Expand Down

0 comments on commit a9893e0

Please sign in to comment.