Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Nov 17, 2023
1 parent 802df09 commit 727ecd6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkg/project/stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ func (s *stack) Deploy() error {
%v
await stack.up({
onOutput: console.log,
logVerbosity: 3,
debug: true,
})
`, s.runtime()),
Env: env,
Expand All @@ -125,7 +127,7 @@ func (s *stack) Deploy() error {
}

for cmd.Out.Scan() {
line := strings.TrimSpace(cmd.Out.Text())
line := (cmd.Out.Text())
if line == "" {
continue
}
Expand All @@ -149,6 +151,8 @@ func (s *stack) Cancel() error {
%v
await stack.cancel({
onOutput: console.log,
logVerbosity: 3,
debug: true,
})
`, s.runtime()),
Env: env,
Expand Down Expand Up @@ -186,6 +190,8 @@ func (s *stack) Remove() error {
%v
await stack.destroy({
onOutput: console.log,
debug: true,
logVerbosity: 5,
})
`, s.runtime()),
Env: env,
Expand Down

0 comments on commit 727ecd6

Please sign in to comment.