File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -51,14 +51,17 @@ async function enforceCompilerMeta({ Yarn }) {
51
51
if ( process . argv . includes ( "--fix" ) ) {
52
52
await fs . writeFile (
53
53
compilerVersionFile ,
54
- versionFile . replace ( versionPattern , `let version = "${ EXPECTED_VERSION } "` )
54
+ versionFile . replace (
55
+ versionPattern ,
56
+ `let version = "${ EXPECTED_VERSION } "` ,
57
+ ) ,
55
58
) ;
56
59
} else {
57
60
const versionMatch = versionFile . match ( versionPattern ) ;
58
61
const foundVersion = versionMatch ?. groups ?. version ;
59
62
if ( foundVersion !== EXPECTED_VERSION ) {
60
63
Yarn . workspace ( ) . error (
61
- `compiler/common/bs_version.ml file need to be fixed; expected ${ EXPECTED_VERSION } , found ${ foundVersion } .`
64
+ `compiler/common/bs_version.ml file need to be fixed; expected ${ EXPECTED_VERSION } , found ${ foundVersion } .` ,
62
65
) ;
63
66
}
64
67
}
You can’t perform that action at this time.
0 commit comments