Skip to content

Commit

Permalink
Fixed syntax error breaking initial declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
jeannemas committed Nov 30, 2020
1 parent 41c8df3 commit 6f71036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ abstract class AdvancedConfigurationManagement {

// Types check
if (types) {
if (!Array.isArray(types) || types.every((type) => typeof type === 'string')) {
if (!Array.isArray(types) || !types.every((type) => typeof type === 'string')) {
throw new SetupError('types', 'if specified, it must be an array of types (strings)');
}

Expand Down

0 comments on commit 6f71036

Please sign in to comment.