mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
expand build command detection to include deploy
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user