Skip to content

Commit

Permalink
bypass monika starting message
Browse files Browse the repository at this point in the history
  • Loading branch information
sapiderman committed Jan 15, 2025
1 parent d5c891c commit ebac248
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/commands/monika.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ export default class Monika extends Command {
}

await initLoaders(flags, this.config)
await logRunningInfo({ isSymonMode, isVerbose: flags.verbose })
if (flags['skip-start-message'] === false) {
await logRunningInfo({ isSymonMode, isVerbose: flags.verbose })
}

if (isSymonMode) {
symonClient = new SymonClient(flags)
Expand All @@ -171,13 +173,11 @@ export default class Monika extends Command {
savePidFile(flags.config, config)
deprecationHandler(config)

if (flags['skip-start-message'] === false) {
logStartupMessage({
config,
flags,
isFirstRun,
})
}
logStartupMessage({
config,
flags,
isFirstRun,
})

const controller = new AbortController()
const { signal } = controller
Expand Down

0 comments on commit ebac248

Please sign in to comment.