File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { getConfig, saveConfig } from "../utils/config";
44import { defaultConfig , LocaleCode , resolveLocaleCode , bucketTypes } from "@lingo.dev/_spec" ;
55import fs from "fs" ;
66import path from "path" ;
7- import { spawn } from "child_process" ;
87import _ from "lodash" ;
98import { checkbox , confirm , input } from "@inquirer/prompts" ;
109import { login } from "./auth" ;
@@ -14,10 +13,11 @@ import findLocaleFiles from "../utils/find-locale-paths";
1413import { ensurePatterns } from "../utils/ensure-patterns" ;
1514import updateGitignore from "../utils/update-gitignore" ;
1615import initCICD from "../utils/init-ci-cd" ;
16+ import open from "open" ;
1717
1818const openUrl = ( path : string ) => {
1919 const settings = getSettings ( undefined ) ;
20- spawn ( " open" , [ `${ settings . auth . webUrl } ${ path } ` ] ) ;
20+ open ( `${ settings . auth . webUrl } ${ path } ` , { wait : false } ) ;
2121} ;
2222
2323const throwHelpError = ( option : string , value : string ) => {
You can’t perform that action at this time.
0 commit comments