Skip to content

Commit

Permalink
Fix local TypeScript execution
Browse files Browse the repository at this point in the history
  • Loading branch information
papb committed Jan 23, 2021
1 parent 0c178a1 commit 1b741d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"start": "cross-env LOCAL_SSCCE=true DIALECT=sqlite node setup/runner.js",
"ts-prep": "del-cli ts-dist && tsc && node setup/ts-setup.js",
"ts": "npm run ts-prep && cross-env USE_TS=true npm start",
"ts": "npm run ts-prep && cross-env LOCAL_TS_RUN=true npm start",
"do-replace": "node setup/lib-replacements.js --do",
"undo-replace": "node setup/lib-replacements.js --undo",
"ci": "node setup/runner.js",
Expand Down
2 changes: 1 addition & 1 deletion setup/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require('./global-adjusts');

const sequelizeVersion = require('./sequelize-version');

const USE_TS = process.env.CI_COMBINATION === 'v6 with TS';
const USE_TS = process.env.LOCAL_TS_RUN || process.env.CI_COMBINATION === 'v6 with TS';

async function run() {
let heading = `Running SSCCE for ${process.env.DIALECT.toUpperCase()} with Sequelize ${sequelizeVersion}`;
Expand Down

0 comments on commit 1b741d1

Please sign in to comment.