Skip to content

Commit

Permalink
fix: in tray openDashboard, use verbose mode if DEBUG is set
Browse files Browse the repository at this point in the history
  • Loading branch information
starpit committed Nov 2, 2022
1 parent d33dbf9 commit 89246f2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { CreateWindowFunction } from "@kui-shell/core"

import windowOptions from "../../../window"

interface DashboardSpec {
export interface DashboardSpec {
/** Label for presentation e.g. "MLFlow" or "Tensorboard" */
name: string

Expand Down Expand Up @@ -50,6 +50,7 @@ export default async function openDashboard(
const resp = await cli(["madwizard", "guide", guidebook], undefined, {
profile,
clean: false /* don't kill the port-forward subprocess! we'll manage that */,
verbose: !!process.env.DEBUG,
interactive: false,
store: process.env.GUIDEBOOK_STORE,
})
Expand Down

0 comments on commit 89246f2

Please sign in to comment.