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

Commit b2aa1e1

Browse files
committed
Set working directory
1 parent a65c605 commit b2aa1e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/publish-tag-push/lib/command.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import places from '@tools/places'
12
import { StyledText, dim } from './styled-text'
23
import spawn, { TerminationError, SpawnFactory } from 'advanced-spawn-async'
34
import { Printer } from '../utils/types'
@@ -10,6 +11,7 @@ export function displayCommand(args: readonly StyledText[]): string {
1011

1112
const spawnOptions = {
1213
stdio: 'inherit',
14+
cwd: places.project,
1315
} as const
1416

1517
export async function executeCommand(command: StyledText, args: readonly StyledText[]) {

0 commit comments

Comments
 (0)