Skip to content

Commit 453ef34

Browse files
authored
fix(scripts): execa command (#1605)
1 parent f27e05f commit 453ef34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/scripts/tag.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
import { Command } from 'commander';
11-
import { execa } from 'execa';
11+
import { execa, execaCommand } from 'execa';
1212
import fs from 'fs';
1313
import { githubBranch, githubRelease, lernaChangelog } from '@zendeskgarden/scripts';
1414
import ora from 'ora';
@@ -46,7 +46,7 @@ const changelog = async (tag, spinner) => {
4646

4747
await write(fd, markdown);
4848
spinner.stop();
49-
await execa.command(`${editor.stdout} ${path}`, { stdio: 'inherit' });
49+
await execaCommand(`${editor.stdout} ${path}`, { stdio: 'inherit' });
5050
spinner.start();
5151

5252
const readFile = util.promisify(fs.readFile);

0 commit comments

Comments
 (0)