"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

function updateBindingPrefixToNewDefault(componentModel) {
  const oldDefault = 'bit';
  const newDefault = '@bit';

  if (componentModel.bindingPrefix && componentModel.bindingPrefix === oldDefault) {
    componentModel.bindingPrefix = newDefault;
  }

  return componentModel;
}

var _default = {
  name: 'update bindingPrefix from "bit" to "@bit"',
  migrate: updateBindingPrefixToNewDefault
};
exports.default = _default;