"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.telemetryNoLongerNewUser = void 0;
var _globalConfig = require("@webiny/global-config");
var _plugins = require("@webiny/cli-plugin-deploy-pulumi/plugins");
const telemetryNoLongerNewUser = exports.telemetryNoLongerNewUser = new _plugins.AfterDeployPlugin(params => {
  // If for some reason the deployment was skipped, we don't want to mark the user as no longer new.
  if (params.inputs.deploy === false) {
    return;
  }

  // Mark the user as no longer new.
  _globalConfig.globalConfig.set("newUser", false);
});

//# sourceMappingURL=telemetryNoLongerNewUser.js.map