Merge pull request #1889 from szeck87/docker-version-fix
Allow 0 for minor and patch versions of docker
This commit is contained in:
commit
30dece209a
|
@ -1,5 +1,6 @@
|
||||||
# Next
|
# Next
|
||||||
- See [#881](https://github.com/Glavin001/atom-beautify/issues/881). Update to Prettydiff version 2!
|
- See [#881](https://github.com/Glavin001/atom-beautify/issues/881). Update to Prettydiff version 2!
|
||||||
|
- Fix for [#1888](https://github.com/Glavin001/atom-beautify/issues/1888). Allow 0 for minor and patch versions of Docker
|
||||||
- ...
|
- ...
|
||||||
|
|
||||||
# v0.30.5 (2017-08-11)
|
# v0.30.5 (2017-08-11)
|
||||||
|
|
|
@ -146,6 +146,10 @@
|
||||||
{
|
{
|
||||||
"name": "Kamontat Chantrachirathumrong",
|
"name": "Kamontat Chantrachirathumrong",
|
||||||
"url": "https://github.com/kamontat"
|
"url": "https://github.com/kamontat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Steven Zeck",
|
||||||
|
"url": "https://github.com/szeck87"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
@ -379,7 +379,7 @@ class HybridExecutable extends Executable
|
||||||
homepage: "https://www.docker.com/"
|
homepage: "https://www.docker.com/"
|
||||||
installation: "https://www.docker.com/get-docker"
|
installation: "https://www.docker.com/get-docker"
|
||||||
version: {
|
version: {
|
||||||
parse: (text) -> text.match(/version [0]*([1-9]\d*).[0]*([1-9]\d*).[0]*([1-9]\d*)/).slice(1).join('.')
|
parse: (text) -> text.match(/version [0]*([1-9]\d*).[0]*([0-9]\d*).[0]*([0-9]\d*)/).slice(1).join('.')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
return @docker
|
return @docker
|
||||||
|
|
Loading…
Reference in New Issue