You can specify in the
.flowconfig which version of Flow you expect to use. You do this with the
[version] section. If this section is omitted or left blank, then any version is allowed. If a version is specified and not matched, then Flow will immediately error and exit.
So if you have the following in your
and you try to use Flow v0.21.0, then Flow will immediately error with the message
"Wrong version of Flow. The config specifies version 0.22.0 but this is version
So far, we support the following ways to specify supported versions
0.22.0, which only matches
>=0.13.0 <0.14.0, which matches
>=0.13.0 <0.14.0, and
>=0.13.1 <0.14.0, whereas
© 2013–present Facebook Inc.
Licensed under the BSD License.