mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-27 22:49:20 +08:00
Fix not-needed script now that types are in types directory (#15373)
This commit is contained in:
@@ -13,7 +13,7 @@ if (process.argv.length !== 5 && process.argv.length !== 6) {
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
rmdirRecursive(typingsPackageName);
|
||||
rmdirRecursive(path.join("types", typingsPackageName));
|
||||
const notNeededPackages = JSON.parse(fs.readFileSync("notNeededPackages.json", "utf-8"));
|
||||
notNeededPackages.packages.push({ libraryName, typingsPackageName, sourceRepoURL, asOfVersion });
|
||||
notNeededPackages.packages.sort((x, y) => x.typingsPackageName < y.typingsPackageName ? -1 : 1);
|
||||
|
||||
Reference in New Issue
Block a user