Skip to content

Different props order in exported configs#191

Description

@radoslavzeman

Bug report

Describe the bug

A list property is moving up and down in the exported config files, depending on from which machine it was exported.
Maybe it takes machine's locale during sorting with localeCompare 馃し?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare#locales

Steps to reproduce the behavior

Export updated configs on different machines.

Expected behavior

Only relevant changes are made to config files during the export.

Screenshots

Image

System

  • Node.js version: 20.19.0
  • NPM version: 10.8.1
  • Strapi version: v5.18.0
  • Plugin version: 3.1.2
  • Database: PostgreSQL
  • Operating system: macOS, Windows, Linux

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions