intermine / bluegenes-tool-store

BlueGenes' Tool API server. Used as dependency in BlueGenes but can also be used standalone.
Other
2 stars 2 forks source link

Bundle isn't served when package.json name doesn't match folder and tools.edn name #8

Open heralden opened 4 years ago

heralden commented 4 years ago

This doesn't happen with regular use since the folder name will always be equal to the package.json name, and tools.edn will always be equal to the folder name.

However, when testing locally by using symlinks you may end up with a folder and tools.edn name that differs from the package.json name. This is also difficult to debug, since it's obvious to check that the tools.edn and folder name match, but not obvious to check the package.json name.

We should use the tools.edn name when determining the path to the bundle instead, so a differing package.json name won't have any effect.