Skip to content

Commit

Permalink
fix(scripts): execa command
Browse files Browse the repository at this point in the history
  • Loading branch information
jzempel committed Aug 10, 2023
1 parent f27e05f commit b95f19d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/scripts/tag.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

import { Command } from 'commander';
import { execa } from 'execa';
import { execa, execaCommand } from 'execa';
import fs from 'fs';
import { githubBranch, githubRelease, lernaChangelog } from '@zendeskgarden/scripts';
import ora from 'ora';
Expand Down Expand Up @@ -46,7 +46,7 @@ const changelog = async (tag, spinner) => {

await write(fd, markdown);
spinner.stop();
await execa.command(`${editor.stdout} ${path}`, { stdio: 'inherit' });
await execaCommand(`${editor.stdout} ${path}`, { stdio: 'inherit' });
spinner.start();

const readFile = util.promisify(fs.readFile);
Expand Down

0 comments on commit b95f19d

Please sign in to comment.