Skip to content

Commit

Permalink
update: Mounting error
Browse files Browse the repository at this point in the history
  • Loading branch information
0x-shanks committed Feb 1, 2021
1 parent 0e86a39 commit adff045
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ You can open a dashboard in your browser and see a graph of dependencies represe
defaultFileSystem := afero.NewOsFs()
ctx := file.NewContext(defaultFileSystem)
currentDir, err := os.Getwd()
if err != nil {
return errors.Wrap(err, "cannot get current dir")
}
graphDir := graph_path.Solve(source, currentDir)
graph, err := graph.BuildGraph(*ctx, graphDir)
if err != nil {
Expand Down

0 comments on commit adff045

Please sign in to comment.