Skip to content

Commit

Permalink
remove bad check against exclude flag
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott committed Jun 1, 2020
1 parent 1c93168 commit 3c10d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ function validateConfigAgainstV1(rawConfig: any, cliFlags: any) {
'[Snowpack v1 -> v2] `installOptions.include` is now handled via "mount" build scripts!',
);
}
if (rawConfig.installOptions?.exclude || cliFlags.exclude) {
if (rawConfig.installOptions?.exclude) {
handleDeprecatedConfigError('[Snowpack v1 -> v2] `installOptions.exclude` is now `exclude`.');
}
if (Array.isArray(rawConfig.webDependencies)) {
Expand Down

0 comments on commit 3c10d00

Please sign in to comment.