Git: Precomit hook slimmed down

This commit is contained in:
Torkel Ödegaard
2019-09-03 09:38:25 +02:00
committed by GitHub
parent adbefcc37d
commit 1782d68137
3 changed files with 4 additions and 25 deletions

View File

@@ -7,7 +7,8 @@ var path = require('path') ;
var tsProjectPath = path.resolve(__dirname, '../tsconfig.json');
require('ts-node').register({
project: tsProjectPath
project: tsProjectPath,
transpileOnly: true
});
require('../src/cli/index.ts').run(true);