Skip to content

Commit

Permalink
oam_viz now outputs to the PWD by default
Browse files Browse the repository at this point in the history
  • Loading branch information
caffix committed Oct 16, 2024
1 parent 278c312 commit 74a16f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/oam_viz/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ func main() {
nodes, edges := viz.VizData(args.Domains.Slice(), start, db)
// Get the directory to save the files into
dir := args.Filepaths.Directory
if pwd, err := os.Getwd(); err == nil {
dir = pwd
}

// Set output file prefix, use 'amass' if '-oA' flag is not specified
prefix := args.Filepaths.AllFilePrefix
Expand Down

0 comments on commit 74a16f7

Please sign in to comment.