Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modules dependencies always return a dependencies.yml content even if the module doesn't exist #109

Open
xael-fry opened this issue Dec 21, 2016 · 0 comments

Comments

@xael-fry
Copy link
Member

GET         /modules/repo/:name/:version/dependencies.yml            controllers.Modules.dependencies(name, version)

and in modules.scala

In     modulesLookup.findDependencies(name, version) match {
      case Some(yml) => Ok(yml)
      case None => Ok("self: play -> " + name + " " + version)
    }

So we will always have some content even if the module doesn't exist.
ex
https://www.playframework.com/modules/repo/starwars/1.5/dependencies.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants