function deploy(env) {
    return __awaiter(this, void 0, void 0, function* () {
        gulp_util_1.default.log(`themekit cwd to: ${config_1.config.dist.root}`);
        return themekit
            .command("deploy", {
            "allow-live": true,
            env: env,
        }, { cwd: config_1.config.dist.root })
            .catch((err) => {
            messages_1.default.logTransferFailed(err);
        });
    });
}
/**
 * simple promise factory wrapper for deploys
 * @param env The environment to deploy to
 */
simple promise factory wrapper for deploys
@param env The environment to deploy to
simple promise factory wrapper for deploys @param env The environment to deploy to
function deploy(env) {
    return __awaiter(this, void 0, void 0, function* () {
        gulp_util_1.default.log(`themekit cwd to: ${config_1.config.dist.root}`);
        return themekit
            .command("deploy", {
            "allow-live": true,
            env: env,
        }, { cwd: config_1.config.dist.root })
            .catch((err) => {
            messages_1.default.logTransferFailed(err);
        });
    });
}
function deploy ( env ) { return __awaiter ( this , void 0 , void 0 , function * ( ) { gulp_util_1 . default . log ( ` ${ config_1 . config . dist . root } ` ) ; return themekit . command ( "deploy" , { "allow-live" : true , env : env , } , { cwd : config_1 . config . dist . root } ) . catch ( ( err ) => { messages_1 . default . logTransferFailed ( err ) ; } ) ; } ) ; }
simple promise factory wrapper for deploys
 @param env The environment to deploy to
simple promise factory wrapper for deploys @param env The environment to deploy to