lingo.dev 0.85.5 → 0.85.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/cli.mjs CHANGED
@@ -3658,7 +3658,9 @@ var i18n_default = new Command6().command("i18n").description("Run Localization
3658
3658
  ora.succeed("Buckets retrieved");
3659
3659
  if (flags.file?.length) {
3660
3660
  buckets = buckets.map((bucket) => {
3661
- const paths = bucket.paths.filter((path18) => flags.file.find((file) => path18.pathPattern?.match(file)));
3661
+ const paths = bucket.paths.filter(
3662
+ (path18) => flags.file.find((file) => path18.pathPattern?.includes(file))
3663
+ );
3662
3664
  return { ...bucket, paths };
3663
3665
  }).filter((bucket) => bucket.paths.length > 0);
3664
3666
  if (buckets.length === 0) {
@@ -5458,7 +5460,7 @@ function validateParams2(i18nConfig, flags) {
5458
5460
  // package.json
5459
5461
  var package_default = {
5460
5462
  name: "lingo.dev",
5461
- version: "0.85.5",
5463
+ version: "0.85.6",
5462
5464
  description: "Lingo.dev CLI",
5463
5465
  private: false,
5464
5466
  publishConfig: {