Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Fixed - Do not check for version if user enters latest #37

Merged
merged 1 commit into from
Aug 27, 2019

Conversation

Nikhil-Vats
Copy link
Member

Description

If the version is latest, the generator does need not check if its valid as latest automatically means the latest version on npm. This saves time.

Related issues and discussion

#26

Screenshots, if any

Checklist

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Run the tests

@sarthak-sehgal
Copy link
Contributor

Nice!

@sarthak-sehgal
Copy link
Contributor

@Nikhil-Vats is the check for the term “latest” case sensitive? 🤔

@Nikhil-Vats
Copy link
Member Author

Yes @sarthak-sehgal, the npm view command works only if version is "latest", it is case sensitive and the code checks that.

@sarthak-sehgal
Copy link
Contributor

I feel that it should be case insensitive. Sorry about not mentioning it earlier!

@sarthak-sehgal
Copy link
Contributor

Merging for now as this is blocking release of a new version. Raised #38

@sarthak-sehgal sarthak-sehgal merged commit 50a69f8 into biojs:master Aug 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants