Allow 0 for minor and patch versions of docker
This commit is contained in:
parent
07047c78fa
commit
2ec771f203
|
@ -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)
|
||||||
|
|
|
@ -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