mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 20:35:24 +00:00
properly log zoekt index exec
This commit is contained in:
parent
6662d20ee8
commit
f62a492ab3
1 changed files with 12 additions and 0 deletions
|
|
@ -76,6 +76,18 @@ export const indexGitRepository = async (repo: Repo, settings: Settings, ctx: Ap
|
|||
reject(error);
|
||||
return;
|
||||
}
|
||||
|
||||
if (stdout) {
|
||||
stdout.split('\n').filter(line => line.trim()).forEach(line => {
|
||||
logger.info(line);
|
||||
});
|
||||
}
|
||||
if (stderr) {
|
||||
stderr.split('\n').filter(line => line.trim()).forEach(line => {
|
||||
logger.error(line);
|
||||
});
|
||||
}
|
||||
|
||||
resolve({
|
||||
stdout,
|
||||
stderr
|
||||
|
|
|
|||
Loading…
Reference in a new issue