"use strict";

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

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

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

  return versionModel;
}

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