fix(azfunc): ignore newline in version

resolves #1108
This commit is contained in:
Jan De Dobbeleer 2021-10-26 19:50:30 +02:00 committed by Jan De Dobbeleer
parent d84b92ef13
commit 8702098032

View file

@ -17,7 +17,7 @@ func (az *azfunc) init(props *properties, env environmentInfo) {
{ {
executable: "func", executable: "func",
args: []string{"--version"}, args: []string{"--version"},
regex: `(?P<version>.+)`, regex: `(?P<version>[0-9.]+)`,
}, },
}, },
} }