Skip to content

Commit 0a52cbf

Browse files
committed
Unify file and function names
1 parent 473fd74 commit 0a52cbf

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env node
22

3-
const cliInit = require('./src/cli-init');
4-
const configLoad = require('./src/config-load');
5-
const runAll = require('./src/run-all');
3+
const cliInit = require('./src/cliInit');
4+
const configLoad = require('./src/configLoad');
5+
const runAll = require('./src/runAll');
66

77
cliInit();
88
runAll(configLoad());
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/run-all.js renamed to src/runAll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const runIfFileChanged = require('./run-if-file-changed');
1+
const runIfFileChanged = require('./runIfFileChanged');
22

33
function runCommandsForFile(file, commands) {
44
const commandsList = Array.isArray(commands) ? commands : [commands].filter();

src/run-if-file-changed.js renamed to src/runIfFileChanged.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const execa = require('execa');
2-
const findBinary = require('./find-binary');
2+
const findBinary = require('./findBinary');
33

44
const binary = `${__dirname}/../bin/git-run-if-changed.sh`;
55

0 commit comments

Comments
 (0)