wbyoung / avn

Automatic Version Switching for Node
MIT License
1.14k stars 54 forks source link

Read only first line of .node-version #85

Closed saeedseyfi closed 5 years ago

saeedseyfi commented 5 years ago

Get only the first line of .node-version file content as version. nvm reads only the first line, so avn should do the same thing.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling dabe58fd936c1d32843f03cdfde2664459b8c5e0 on saeedseyfi:first-line into 5f429122461a3d2eff25044ee663dd681e4ca2b7 on wbyoung:master.

wbyoung commented 5 years ago

Can you add a test case to cover this as well?

saeedseyfi commented 5 years ago

@wbyoung Done :)

saeedseyfi commented 5 years ago

@wbyoung Do you have any plans to publish the new updates to NPM?

wbyoung commented 5 years ago

@saeedseyfi published in 0.2.4 just now.