function shouldSkipFramework({ type, name }, restartWithFramework) {
  if (!restartWithFramework) return false;
  if (restartWithFramework.includes("/")) {
    return !`${type}/${name}`.startsWith(restartWithFramework);
  } else {
    return !name.startsWith(restartWithFramework);
  }
}
@param {Framework} framework
@param {string} restartWithFramework
@returns {boolean}