diff --git a/.gitignore b/.gitignore index c4f24f4..201e1e3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .vscode +!.vscode/settings.json dist node_modules diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..9a639bc --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,17 @@ +{ + "cSpell.words": [ + "affero", + "agpl", + "bencode", + "decryptor", + "jedipedia", + "metafile", + "networkgroupid", + "patchmanifest", + "retailclient", + "solidconfig", + "solidpkg", + "uniqueid", + "xmlns" + ] +} \ No newline at end of file diff --git a/src/ssn/reader/bencodeParser.ts b/src/ssn/reader/bencodeParser.ts index 17541a9..0ea4d88 100644 --- a/src/ssn/reader/bencodeParser.ts +++ b/src/ssn/reader/bencodeParser.ts @@ -2,7 +2,7 @@ * A parser for .torrent files encoded with Bencode . */ -/** Takes a Bencoded-encoded file, parses it at the given starting position and returns a JSON object, or rejects on error. */ +/** Takes a Bencode-encoded file, parses it at the given starting position and returns a JSON object, or rejects on error. */ function bpParse(buffer: Buffer, posIn: number = 0): { obj: any, pos: number } { let pos = posIn; let obj: any;