Commit 64322a2
authored
fix(commandline): prevent duplicate entries in Polyglot and Layoutfluid funbox modes (@byseif21) (monkeytypegame#6684)
### Description
#### Issue:
* It was possible to add duplicate languages to Polyglot mode or
duplicate layouts to Layoutfluid mode via the command line
#### fix:
* Prevent duplicate entries in Polyglot and Layoutfluid configs by
deduplicating values before saving, ensuring unique values regardless of
input source.1 parent 4fffc64 commit 64322a2
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1871 | 1871 | | |
1872 | 1872 | | |
1873 | 1873 | | |
| 1874 | + | |
| 1875 | + | |
1874 | 1876 | | |
1875 | 1877 | | |
1876 | 1878 | | |
1877 | | - | |
| 1879 | + | |
1878 | 1880 | | |
1879 | 1881 | | |
1880 | 1882 | | |
1881 | 1883 | | |
1882 | 1884 | | |
1883 | 1885 | | |
1884 | | - | |
| 1886 | + | |
1885 | 1887 | | |
1886 | 1888 | | |
1887 | 1889 | | |
| |||
1892 | 1894 | | |
1893 | 1895 | | |
1894 | 1896 | | |
| 1897 | + | |
| 1898 | + | |
1895 | 1899 | | |
1896 | 1900 | | |
1897 | 1901 | | |
1898 | | - | |
| 1902 | + | |
1899 | 1903 | | |
1900 | 1904 | | |
1901 | 1905 | | |
1902 | 1906 | | |
1903 | 1907 | | |
1904 | | - | |
| 1908 | + | |
1905 | 1909 | | |
1906 | 1910 | | |
1907 | 1911 | | |
| |||
0 commit comments