File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -135,15 +135,8 @@ async function validateBuildSystem() {
135135
136136 // Check if scripts are executable (not applicable in Windows)
137137 if ( process . platform !== 'win32' ) {
138- await check ( 'build script is executable' , async ( ) => {
139- const stat = await fs . stat ( path . join ( scriptsDir , 'build.js' ) ) ;
140- return ( stat . mode & 0o111 ) !== 0 ;
141- } ) ;
142-
143- await check ( 'dev server script is executable' , async ( ) => {
144- const stat = await fs . stat ( path . join ( scriptsDir , 'dev-server.js' ) ) ;
145- return ( stat . mode & 0o111 ) !== 0 ;
146- } ) ;
138+ // Executable bit is optional because scripts are invoked via `node <script>.js` in CI
139+ log . info ( 'Skipping executable bit checks for scripts on non-Windows (invoked via node).' ) ;
147140 }
148141
149142 // Check configuration files
You can’t perform that action at this time.
0 commit comments