Skip to content

Read version from pacakge, falls back to path

Compare
Choose a tag to compare
@taylordowns2000 taylordowns2000 released this 21 Jun 14:19

Attempt to read the adaptor version from the adaptor's package.json (this will work on OpenFn.org and in most cases using the cli, if /path/to/some/language-package.Adaptor is used) but if it fails, print the path to the lp, as that provides the most accurate indication of what lp is being used.