@@ -2,7 +2,7 @@ import * as path from 'node:path';
22import * as fs from 'node:fs' ;
33import { fileURLToPath } from 'node:url' ;
44import { createRequire } from 'node:module' ;
5- import { node , ExecaChildProcess , Options } from 'execa' ;
5+ import { execaNode , ExecaChildProcess , Options } from 'execa' ;
66import { type GlintConfigInput } from '@glint/core/config-types' ;
77import { pathUtils , analyzeProject , ProjectAnalysis } from '@glint/core' ;
88
@@ -175,7 +175,7 @@ export class Project {
175175 }
176176
177177 public check ( options : Options & { flags ?: string [ ] } = { } ) : ExecaChildProcess {
178- return node ( require . resolve ( '@glint/core/bin/glint' ) , options . flags , {
178+ return execaNode ( require . resolve ( '@glint/core/bin/glint' ) , options . flags , {
179179 cwd : this . rootDir ,
180180 ...options ,
181181 } ) ;
@@ -188,7 +188,7 @@ export class Project {
188188 public build ( options : Options & { flags ?: string [ ] } = { } , debug = false ) : ExecaChildProcess {
189189 let build = [ '--build' ] ;
190190 let flags = options . flags ? build . concat ( options . flags ) : build ;
191- return node ( require . resolve ( '@glint/core/bin/glint' ) , flags , {
191+ return execaNode ( require . resolve ( '@glint/core/bin/glint' ) , flags , {
192192 cwd : this . rootDir ,
193193 nodeOptions : debug ? [ '--inspect-brk' ] : [ ] ,
194194 ...options ,
0 commit comments