Skip to content

Commit a5f592f

Browse files
committed
oam_viz now outputs to the PWD by default
1 parent 765ddb7 commit a5f592f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/oam_viz/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ func main() {
165165
nodes, edges := viz.VizData(args.Domains.Slice(), start, db)
166166
// Get the directory to save the files into
167167
dir := args.Filepaths.Directory
168+
if pwd, err := os.Getwd(); err == nil {
169+
dir = pwd
170+
}
168171

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

0 commit comments

Comments
 (0)