File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 5555# GHA credentials
5656gha-creds- * .json
5757
58- # Python caches
59- __pycache__ /
60- * .py [codz ]
61- * $py.class
62-
6358# Log files
6459patch_output.log
Original file line number Diff line number Diff line change 1717// See the License for the specific language governing permissions and
1818// limitations under the License.
1919
20- import { execSync , spawnSync } from 'node:child_process' ;
20+ import { execSync } from 'node:child_process' ;
2121import { writeFileSync } from 'node:fs' ;
2222import { join } from 'node:path' ;
2323
@@ -27,15 +27,7 @@ if (!process.cwd().includes('packages')) {
2727}
2828
2929// build typescript files
30- const tscResult = spawnSync ( 'tsc' , [ '--build' ] , { stdio : 'inherit' } ) ;
31-
32- if ( tscResult . status !== 0 ) {
33- const failureReason =
34- tscResult . status !== null
35- ? `exit code ${ tscResult . status } `
36- : `signal ${ tscResult . signal ?? 'unknown' } ` ;
37- console . warn ( `tsc --build completed with warnings (${ failureReason } ).` ) ;
38- }
30+ execSync ( 'tsc --build' , { stdio : 'inherit' } ) ;
3931
4032// copy .{md,json} files
4133execSync ( 'node ../../scripts/copy_files.js' , { stdio : 'inherit' } ) ;
You can’t perform that action at this time.
0 commit comments