"use strict";var e=this&&this.__awaiter||function(e,t,n,a){return new(n||(n=Promise))((function(r,i){function o(e){try{s(a.next(e))}catch(e){i(e)}}function c(e){try{s(a.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,c)}s((a=a.apply(e,t||[])).next())}))};Object.defineProperty(exports,"__esModule",{value:!0}),exports.checkInvalidCmdWhileParameterization=void 0;const t=require("../../parameter"),n=require("../../../common/message"),a=require("../../../common/Constants");exports.checkInvalidCmdWhileParameterization=function(r){return e(this,void 0,void 0,(function*(){if(r&&r.length&&(yield t.ParameterizationManager.getInstance().isParameterFileConfiged()))throw(0,n.format)(n.Messages.Parameterization.ForbiddenInstallError,{configName:"parameterFile",ohPkgName:a.Constants.MyPackageJson})}))};