# frozen_string_literal: true require 'active_support/core_ext/string/inflections' module GoNative module Utils class SanitizePluginName class << self def call(raw_name, platform) name_components = raw_name.underscore.dasherize.split('-') - ['plugin', platform] name_components.join('-') end end end end end