expand build command detection to include deploy

This commit is contained in:
Nacho Codoñer
2025-07-28 17:46:39 +02:00
parent f0b4dea156
commit 49158b736d

View File

@@ -138,7 +138,7 @@ export function isMeteorAppRun() {
* @returns {boolean} True if the current command is 'build', false otherwise.
*/
export function isMeteorAppBuild() {
return Package?.meteor?.global?.currentCommand?.name === 'build';
return ['build', 'deploy'].includes(Package?.meteor?.global?.currentCommand?.name);
}
/**