瀏覽代碼

Print the abs path of the dumped DAG

Vadim Markovtsev 7 年之前
父節點
當前提交
6b041bdfd0
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      pipeline.go

+ 2 - 0
pipeline.go

@@ -497,6 +497,8 @@ func (pipeline *Pipeline) resolve(dumpPath string) {
 	}
 	if dumpPath != "" {
 		ioutil.WriteFile(dumpPath, []byte(graphCopy.Serialize(strplan)), 0666)
+		absPath, _ := filepath.Abs(dumpPath)
+		fmt.Fprintf(os.Stderr, "Wrote the DAG to %s\n", absPath)
 	}
 }