Skip to content
This repository was archived by the owner on Feb 25, 2024. It is now read-only.

Commit 86e50ea

Browse files
committed
Rename spawnSync to exec
1 parent 29f0295 commit 86e50ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/sane-fmt/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const path = require('path')
33
const fs = require('fs')
44
const process = require('process')
55
const git = require('isomorphic-git')
6-
const { spawnSync } = require('exec-inline')
6+
const exec = require('exec-inline').spawnSync
77
const command = require.resolve('@sane-fmt/wasm32-wasi/bin')
88
const { project } = require('@tools/places')
99

@@ -33,7 +33,7 @@ async function createArgv() {
3333

3434
async function execute() {
3535
const argv = await createArgv()
36-
return spawnSync(process.execPath, command, ...argv).exit()
36+
return exec(process.execPath, command, ...argv).exit()
3737
}
3838

3939
module.exports = {

0 commit comments

Comments
 (0)