Skip to content

Commit

Permalink
remove .js suffix in require statements in js files, phetsims/chipper…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Nov 14, 2024
1 parent 8a6e6ae commit bcaacc6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion github-dashboard/issueReport.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Agustín Vallejo (PhET Interactive Simulations)
*/

const buildLocal = require( '../../perennial-alias/js/common/buildLocal.js' );
const buildLocal = require( '../../perennial-alias/js/common/buildLocal' );
const { Octokit } = require( 'octokit' );
const octokit = new Octokit( {
auth: buildLocal.phetDevGitHubAccessToken
Expand Down
2 changes: 1 addition & 1 deletion github-labels/printGithubAuthorization.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2020, University of Colorado Boulder
// @author Michael Kauzmann (PhET Interactive Simulations)

const buildLocal = require( '../../perennial/js/common/buildLocal.js' );
const buildLocal = require( '../../perennial/js/common/buildLocal' );

console.log( `${buildLocal.developerGithubUsername}:${buildLocal.developerGithubAccessToken}` );
2 changes: 1 addition & 1 deletion github-labels/update-repos-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// @author Matt Pennington (PhET Interactive Simulations)

const axios = require( '../../perennial/node_modules/axios' );
const buildLocal = require( '../../perennial/js/common/buildLocal.js' );
const buildLocal = require( '../../perennial/js/common/buildLocal' );
const fs = require( 'fs' );

( async () => {
Expand Down
2 changes: 1 addition & 1 deletion project-management/reportEpicIssuesNotInSpreadsheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

const _ = require( '../../perennial/node_modules/lodash' );
const buildLocal = require( '../../perennial/js/common/buildLocal.js' );
const buildLocal = require( '../../perennial/js/common/buildLocal' );
const https = require( 'https' );

const linksInSpreadsheet = [];
Expand Down
2 changes: 1 addition & 1 deletion sim-info/areAllReposInFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @author Michael Kauzmann (PhET Interactive Simulations)
*/
const getAllRepos = require( './getAllRepos.js' );
const getAllRepos = require( './getAllRepos' );
const fs = require( 'fs' );

( async () => {
Expand Down
2 changes: 1 addition & 1 deletion sim-info/getAllRepos.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @author Michael Kauzmann (PhET Interactive Simulations)
*/

const buildLocal = require( '../../perennial/js/common/buildLocal.js' );
const buildLocal = require( '../../perennial/js/common/buildLocal' );
const https = require( 'https' );

const getSomeRepos = async pageNumber => {
Expand Down

0 comments on commit bcaacc6

Please sign in to comment.