Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistently use camel case for file names #12

Merged
merged 1 commit into from
Apr 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ WORKDIR /var/www/html/w

RUN git config --global user.email "app@example.com" && git config --global user.name "app"

RUN /src/setup-repos.sh "$( cat /repositories.json )"
RUN /src/setupRepos.sh "$( cat /repositories.json )"
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ services:
MYSQL_ALLOW_EMPTY_PASSWORD: 1
volumes:
- dbdata:/var/lib/mysql
- ./src/seed-db.sh:/docker-entrypoint-initdb.d/seed-db.sh
- ./src/seedDb.sh:/docker-entrypoint-initdb.d/seedDb.sh
visual-regression:
image: backstopjs/backstopjs:6.0.4
working_dir: /pixel
Expand Down
2 changes: 1 addition & 1 deletion pixel.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const util = require( 'util' );
const exec = util.promisify( require( 'child_process' ).exec );
const LATEST_RELEASE_BRANCH = 'latest-release';
const MAIN_BRANCH = 'master';
const BatchSpawn = require( './src/batch-spawn' );
const BatchSpawn = require( './src/batchSpawn' );
const batchSpawn = new BatchSpawn( 1 );

/**
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/batch-spawn.test.js → src/batchSpawn.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const BatchSpawn = require( './batch-spawn' );
const BatchSpawn = require( './batchSpawn' );
const childProcess = require( 'child_process' );

jest.mock( 'child_process', () => {
Expand All @@ -8,7 +8,7 @@ jest.mock( 'child_process', () => {
};
} );

describe( 'batch-spawn.js', () => {
describe( 'batchSpawn.js', () => {
afterEach( () => {
/** @type {jest.Mock} */ ( childProcess.spawn ).mockReset();
} );
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node
const checkoutBranch = require( './checkout-branch' );
const checkoutPatch = require( './checkout-patch' );
const checkoutBranch = require( './checkoutBranch' );
const checkoutPatch = require( './checkoutPatch' );
const repos = require( '../repositories.json' );
const opts = JSON.parse( process.argv[ 2 ] );

Expand Down
File renamed without changes.
File renamed without changes.