Skip to content

Commit bcb3c1c

Browse files
committed
Upgrade execa
1 parent 8cdcb56 commit bcb3c1c

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function validate(target, properties) {
3737
}
3838

3939
async function compileTypeScript(projectDirectory) {
40-
return execa('tsc', ['--incremental'], {preferLocal: true, cwd: projectDirectory});
40+
return execa({preferLocal: true, cwd: projectDirectory})`tsc --incremental`;
4141
}
4242

4343
const configProperties = {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"dependencies": {
2626
"escape-string-regexp": "^5.0.0",
27-
"execa": "^8.0.1"
27+
"execa": "^9.6.0"
2828
},
2929
"devDependencies": {
3030
"ava": "^6.4.0",

test/snapshots/compilation.js.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ Generated by [AVA](https://avajs.dev).
2121
> Snapshot 1
2222
2323
`Command failed with exit code 2: tsc --incremental␊
24+
2425
typescript/typescript.ts(1,1): error TS2304: Cannot find name 'a'.`

test/snapshots/compilation.js.snap

1 Byte
Binary file not shown.

0 commit comments

Comments
 (0)