Skip to content

Commit 06e0515

Browse files
committed
format
1 parent 09cea2c commit 06e0515

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

yarn.config.cjs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,17 @@ async function enforceCompilerMeta({ Yarn }) {
5151
if (process.argv.includes("--fix")) {
5252
await fs.writeFile(
5353
compilerVersionFile,
54-
versionFile.replace(versionPattern, `let version = "${EXPECTED_VERSION}"`)
54+
versionFile.replace(
55+
versionPattern,
56+
`let version = "${EXPECTED_VERSION}"`,
57+
),
5558
);
5659
} else {
5760
const versionMatch = versionFile.match(versionPattern);
5861
const foundVersion = versionMatch?.groups?.version;
5962
if (foundVersion !== EXPECTED_VERSION) {
6063
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}.`,
6265
);
6366
}
6467
}

0 commit comments

Comments
 (0)