Skip to content
This repository was archived by the owner on Aug 26, 2021. It is now read-only.

Commit a95f0d0

Browse files
author
Adam A. Zerella
committed
Removed form from package.json tests
1 parent 06720ce commit a95f0d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/helper.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,8 @@ HELPER.test = (() => {
992992
error += `The module ${ module } is missing the "build:react" script.\n`;
993993
}
994994

995-
if( hasReact && !packagesPKG.scripts['build'].includes('npm run build:react') ) {
995+
// If we isolate a component like this again we need to refactor.
996+
if( hasReact && module !== 'form' && !packagesPKG.scripts['build'].includes('npm run build:react' ) ) {
996997
error += `The module ${ module } is missing the "build:react" task inside the build script.\n`;
997998
}
998999

0 commit comments

Comments
 (0)