'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
function updateBindingPrefixToNewDefault(versionModel) {
  var oldDefault = 'bit';
  var newDefault = '@bit';
  if (versionModel.bindingPrefix && versionModel.bindingPrefix === oldDefault) {
    versionModel.bindingPrefix = newDefault;
  }
  return versionModel;
}

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