Fix typo "encmake" in emcmakeGenerateTask() (#1200)

Summary:
Pull Request resolved: https://github.com/facebook/yoga/pull/1200

The task definitions in the (OSS-specific) build for Yoga's JS bindings expose `emcmakeGenerateTask()` to run Emscripten's `emcmake` wrapper over `cmake`'s project generator. This fixes a typo in its log output, where it will output "e*n*cmake" instead of "e*m*cmake".

Reviewed By: christophpurrer

Differential Revision: D42279467

fbshipit-source-id: e603bf381ef81e36da321bb73e6af9de6f85931d
This commit is contained in:
Nick Gerleman
2022-12-29 13:21:54 -08:00
committed by Facebook GitHub Bot
parent b842a9e1d9
commit b0b255072c

View File

@@ -108,7 +108,7 @@ function emcmakeGenerateTask() {
"build",
...(ninja ? ["-G", "Ninja"] : []),
];
logger.info(["encmake", ...args].join(" "));
logger.info(["emcmake", ...args].join(" "));
return spawn(emcmake, args);
};