remove temporary fix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Timo Hocker 2021-01-15 13:50:31 +01:00
parent 85d10032d9
commit 1c375d8d55

8
ci.js
View File

@ -17,14 +17,6 @@ const child_process = require ('child_process');
const pkg = JSON.parse (fs.readFileSync ('package.json', 'utf-8'));
/* ======== FIX FOR JASMINE-TS ================== */
if (fs.existsSync ('node_modules/jasmine-ts/lib/index.js')) {
const jts = fs.readFileSync ('node_modules/jasmine-ts/lib/index.js', 'utf-8');
const ejts = jts.replace ('"ts-node/dist"', '"ts-node"');
fs.writeFileSync('node_modules/jasmine-ts/lib/index.js', ejts);
}
/* ============================================== */
child_process.execSync ('yarn lint', { stdio: 'inherit' });
child_process.execSync ('yarn test', { stdio: 'inherit' });
child_process.execSync ('yarn compile', { stdio: 'inherit' });