File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -94,8 +94,7 @@ function guardedCheck() {
94
94
function checkFiles ( filepaths ) {
95
95
console . log ( '\u001b[2J' ) ;
96
96
97
- return parseFiles ( filepaths )
98
- . then ( ( ) => runTests ( filepaths ) )
97
+ return runTests ( filepaths )
99
98
. then ( testSuccess =>
100
99
lintFiles ( filepaths ) . then ( lintSuccess =>
101
100
typecheckStatus ( ) . then (
@@ -112,25 +111,6 @@ function checkFiles(filepaths) {
112
111
}
113
112
114
113
// Checking steps
115
-
116
- function parseFiles ( filepaths ) {
117
- console . log ( 'Checking Syntax' ) ;
118
-
119
- return Promise . all (
120
- filepaths . map ( filepath => {
121
- if ( isJS ( filepath ) && ! isTest ( filepath ) ) {
122
- return exec ( 'babel' , [
123
- '--optional' ,
124
- 'runtime' ,
125
- '--out-file' ,
126
- '/dev/null' ,
127
- srcPath ( filepath ) ,
128
- ] ) ;
129
- }
130
- } )
131
- ) ;
132
- }
133
-
134
114
function runTests ( filepaths ) {
135
115
console . log ( '\nRunning Tests' ) ;
136
116
You can’t perform that action at this time.
0 commit comments