make sure proposal name generation is sorted, https://github.com/microsoft/vscode/issues/131165
This commit is contained in:
parent
4549bd26c7
commit
7ac327281a
|
@ -183,7 +183,7 @@ function apiProposalNamesGenerator() {
|
|||
try {
|
||||
const t1 = Date.now();
|
||||
const proposalNames = [];
|
||||
for (let file of fs.readdirSync(dtsFolder)) {
|
||||
for (let file of fs.readdirSync(dtsFolder).sort()) {
|
||||
const match = pattern.exec(file);
|
||||
if (match) {
|
||||
proposalNames.push([match[1], `https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/${file}`]);
|
||||
|
|
|
@ -224,7 +224,7 @@ function apiProposalNamesGenerator() {
|
|||
|
||||
const t1 = Date.now();
|
||||
const proposalNames: [name: string, url: string][] = [];
|
||||
for (let file of fs.readdirSync(dtsFolder)) {
|
||||
for (let file of fs.readdirSync(dtsFolder).sort()) {
|
||||
const match = pattern.exec(file);
|
||||
if (match) {
|
||||
proposalNames.push([match[1], `https://raw.githubusercontent.com/microsoft/vscode/main/src/vscode-dts/${file}`]);
|
||||
|
|
Loading…
Reference in a new issue