Skip to content

Commit 7e29c42

Browse files
chore: re-enable gts check (#105)
1 parent a48e1c1 commit 7e29c42

26 files changed

+741
-747
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
4343
"test-no-cover": "node node_modules/.bin/repo-tools test run --cmd mocha -- ./build/test/unit/*.js ./build/test/unit/**/*.js --no-timeouts",
4444
"test": "node node_modules/.bin/repo-tools test run --cmd npm -- run cover",
45-
"check": "echo '`gts check` disabled until translation of the test code to Typescript is complete.'",
45+
"check": "gts check",
4646
"clean": "gts clean",
4747
"compile": "tsc -p .",
4848
"postcompile": "cpy src/types.d.ts build/src/ && cpy 'utils/**/*.*' build --parents && cpy 'test/**/*.*' build --parents",

src/interfaces/koa.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ import {koaRequestInformationExtractor} from '../request-extractors/koa';
3434
* @returns {Function} - The function used to catch errors yielded by downstream
3535
* request handlers.
3636
*/
37-
export function koaErrorHandler(
38-
client: RequestHandler, config: Configuration) {
37+
export function koaErrorHandler(client: RequestHandler, config: Configuration) {
3938
/**
4039
* The actual error handler for the Koa plugin attempts to yield the results
4140
* of downstream request handlers and will attempt to catch errors emitted by

src/interfaces/manual.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ export function handlerSetup(
6565
* the parameters given.
6666
*/
6767
function reportManualError(
68-
err: {}, request?: Request|Callback|string, additionalMessage?: Callback|string|{},
69-
callback?: Callback|{}|string) {
68+
err: {}, request?: Request|Callback|string,
69+
additionalMessage?: Callback|string|{}, callback?: Callback|{}|string) {
7070
let em;
7171
if (isString(request)) {
7272
// no request given

0 commit comments

Comments
 (0)