mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-15 23:05:41 +00:00
fmt
This commit is contained in:
parent
8af3d6367e
commit
46e022098f
8 changed files with 58 additions and 37 deletions
|
@ -150,7 +150,7 @@ export function memoizeAsync<Ret, TThis, Param extends string>(
|
|||
|
||||
/** Awaitable wrapper around `child_process.exec` */
|
||||
export function execute(command: string, options: ExecOptions): Promise<string> {
|
||||
log.info(`running command: ${command}`)
|
||||
log.info(`running command: ${command}`);
|
||||
return new Promise((resolve, reject) => {
|
||||
exec(command, options, (err, stdout, stderr) => {
|
||||
if (err) {
|
||||
|
@ -170,7 +170,7 @@ export function execute(command: string, options: ExecOptions): Promise<string>
|
|||
}
|
||||
|
||||
export function executeDiscoverProject(command: string, options: ExecOptions): Promise<string> {
|
||||
log.info(`running command: ${command}`)
|
||||
log.info(`running command: ${command}`);
|
||||
return new Promise((resolve, reject) => {
|
||||
exec(command, options, (err, stdout, _) => {
|
||||
if (err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue