mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-08 17:30:02 +02:00
🔊 Correct verbose logging for patches
This commit is contained in:
parent
8beae3cec6
commit
79313f92a2
1 changed files with 4 additions and 5 deletions
|
@ -12,6 +12,7 @@ import { join } from 'path'
|
|||
import { existsSync, writeFileSync } from 'fs'
|
||||
import { patchCountFile } from '../../middleware/patch-check'
|
||||
import { checkHash } from '../../utils'
|
||||
import { log } from '../../log'
|
||||
|
||||
type ListrTaskGroup = Listr.ListrTask<any>
|
||||
|
||||
|
@ -95,9 +96,7 @@ function importGitPatch(): ListrTaskGroup {
|
|||
}
|
||||
|
||||
export async function applyPatches(): Promise<void> {
|
||||
await new Listr([
|
||||
importMelonPatches(),
|
||||
importFolders(),
|
||||
importGitPatch(),
|
||||
]).run()
|
||||
await new Listr([importMelonPatches(), importFolders(), importGitPatch()], {
|
||||
renderer: log.isDebug ? 'verbose' : 'default',
|
||||
}).run()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue