Skip to content

Commit

Permalink
use tsc runnable from perennial-alias, phetsims/perennial#364
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 22, 2024
1 parent 75cb07b commit 531b065
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/scripts/restrictAccessModifiers.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
* @author Matt Blackman (PhET Interactive Simulations)
*/

import { Project } from 'ts-morph';
import { execSync } from 'child_process';
import { Project } from 'ts-morph';

// Function to tighten accessibility annotations
async function restrictAccessModifiers( repoPath ) {
Expand Down Expand Up @@ -142,7 +142,7 @@ function isBuildSuccessful() {
try {

// Specify the path to the TypeScript compiler you want to use
const tscPath = '../chipper/node_modules/typescript/bin/tsc';
const tscPath = '../perennial-alias/node_modules/typescript/bin/tsc';

// Run the specified TypeScript compiler in the current directory
execSync( `node ${tscPath} -b`, {
Expand Down

0 comments on commit 531b065

Please sign in to comment.