cordova-coho icon indicating copy to clipboard operation
cordova-coho copied to clipboard

`audit-license-headers -g` is broken

Open janpio opened this issue 5 years ago • 0 comments

When working in a working directory not next to cordova-coho and using the -g flag, the audit-license-headers seems broken as it expects cordova-coho to contain the RAT tool:

coho repo-clone -r plugins -g
coho audit-license-headers -r plugins -g

Gives:

Repo directory does not exist: cordova-coho. First run coho repo-clone.

Code: https://github.com/apache/cordova-coho/blob/c28d2f8d8f488e933e295a7a2bd514f0551d010c/src/audit-license-headers.js#L89-L91


Workaround: Run coho repo-clone -r cordova-coho -g first.

janpio avatar May 08 '19 17:05 janpio