🎨 Fix typos
This commit is contained in:
parent
a3bff814ef
commit
14e73367c6
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
import * as http from 'http';
|
||||
|
||||
/** Too avoid */
|
||||
/** Too avoid overloading the server, do not allow large files (> 100 MB) to be handled in memory. */
|
||||
const MAX_MEMORY_SIZE = 100 * 1024 * 1024;
|
||||
|
||||
export default function handleResponse(
|
||||
|
@ -34,7 +34,7 @@ export default function handleResponse(
|
|||
chunkList.push(chunk);
|
||||
});
|
||||
|
||||
//If we finished reading response, check for correctness and return it
|
||||
//If we finished reading response, check for correctness, then return it
|
||||
response.on('end', () => {
|
||||
//Check that length is correct
|
||||
if (totalLength !== headerLength) {
|
||||
|
|
|
@ -52,7 +52,7 @@ function getFroms({ product, to: releaseTo}: {product: Product, to: number}) {
|
|||
* the release path, or an empty array if no path exists.
|
||||
* E.g. for `{ from: 21, to: 24 }`, it returns [[21, 22], [22, 23], [23, 24]].
|
||||
* Does not actually look at the manifest.xml file but theorizes on possible patches based on the usually created patches, allowing
|
||||
* us to find release pathes for products that have not been released yet.
|
||||
* us to find release paths for products that have not been released yet.
|
||||
*/
|
||||
export default function findReleasePath({ product, from, to}: {product: Product, from: number, to: number}): Array<[number, number]> {
|
||||
//Verify function arguments
|
||||
|
|
Loading…
Reference in a new issue