Skip to content

Commit 511313a

Browse files
author
Christopher J. Brody
committed
no normalization of platforms in lib/cli-command.js
as this step is not needed (as discovered through mutation testing using Stryker)
1 parent 3e2b798 commit 511313a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/cli-command.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,7 @@ module.exports = {
3131

3232
const beforeCreation = Date.now();
3333

34-
const platforms = (options.platforms)
35-
? options.platforms.split(',') : options.platforms;
36-
37-
const preNormalizedOptions = Object.assign({}, { name }, options, {
38-
platforms
39-
});
34+
const preNormalizedOptions = Object.assign({}, { name }, options);
4035

4136
// NOTE: There is a trick where the new normalizedOptions()
4237
// from normalized-options.js is applied by both command.js & lib.js.

0 commit comments

Comments
 (0)