Skip to content

Commit

Permalink
Fix not-needed script now that types are in types directory (Defini…
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy authored Mar 24, 2017
1 parent 4003398 commit 18ae90b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/not-needed.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 18ae90b

Please sign in to comment.