🗑 Remove unneeded code
This commit is contained in:
parent
9ab326dfe9
commit
7987581216
3 changed files with 3 additions and 8 deletions
|
@ -16,7 +16,7 @@ if (!verifyProductName(product)) {
|
||||||
failFunction(`"${product} is not a valid product name.`);
|
failFunction(`"${product} is not a valid product name.`);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Get manifest and write output to console
|
//Get manifest and write output to stdout
|
||||||
getManifest(product as Product).then((output: IManifest) => {
|
getManifest(product as Product).then((output: IManifest) => {
|
||||||
process.stdout.write(JSON.stringify(output));
|
process.stdout.write(JSON.stringify(output));
|
||||||
//process.exit(0);
|
//process.exit(0);
|
||||||
|
|
|
@ -26,7 +26,7 @@ if (!to.match(/^(0|[1-9][0-9]{0,2})$/)) {
|
||||||
failFunction(`to value "${to.substring(0, 300)}" is not a valid integer; it must be in range [0, 999].`);
|
failFunction(`to value "${to.substring(0, 300)}" is not a valid integer; it must be in range [0, 999].`);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Get solidpkg and write output to console
|
//Get solidpkg and write output to stdout
|
||||||
getSolidpkg(product as Product, Number(from), Number(to)).then((output: ISolidSimple) => {
|
getSolidpkg(product as Product, Number(from), Number(to)).then((output: ISolidSimple) => {
|
||||||
process.stdout.write(JSON.stringify(output));
|
process.stdout.write(JSON.stringify(output));
|
||||||
//process.exit(0);
|
//process.exit(0);
|
||||||
|
|
|
@ -2,11 +2,6 @@ import getManifest from './ssn/getManifest';
|
||||||
import getPatch from './ssn/getPatch';
|
import getPatch from './ssn/getPatch';
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
//----- PATCHMANIFEST -----
|
|
||||||
//const patchmanifestJson = await getManifest('assets_swtor_de_de');
|
|
||||||
//console.log(patchmanifestJson);
|
|
||||||
|
|
||||||
//----- PATCH -----
|
|
||||||
const patch = await getPatch('assets_swtor_de_de', -1, 0);
|
const patch = await getPatch('assets_swtor_de_de', -1, 0);
|
||||||
console.log(patch);
|
//console.log(patch);
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in a new issue