amit-davidson / Chronos

Chronos - A static race detector for the go language
MIT License
424 stars 11 forks source link

Pass module path to allow search packages not in working directory #39

Closed amit-davidson closed 3 years ago

amit-davidson commented 3 years ago

Change --mod to require an absolute path. This way it's possible to tell where the working directory is and also get the module name. It should allow the tool to run outside the working directory.