@schukai/monster 3.57.0 → 3.58.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -775,16 +775,16 @@ function transform(value) {
775
775
  defaultValue = convertSpecialStrings(defaultValue, value);
776
776
 
777
777
  return translations.getText(key, defaultValue);
778
-
778
+
779
779
  case "set-toggle":
780
780
  case "set-set":
781
781
  case "set-remove":
782
- let modifier = args.shift();
782
+ const modifier = args.shift();
783
783
  let delimiter = args.shift();
784
784
  if (delimiter === undefined) {
785
785
  delimiter = " ";
786
786
  }
787
-
787
+
788
788
  const set = new Set(value.split(delimiter));
789
789
  const toggle = new Set(modifier.split(delimiter));
790
790
  if (this.command === "set-toggle") {
@@ -805,9 +805,7 @@ function transform(value) {
805
805
  }
806
806
  }
807
807
  return Array.from(set).join(delimiter);
808
-
809
-
810
-
808
+
811
809
  default:
812
810
  throw new Error(`unknown command ${this.command}`);
813
811
  }