Skip to content

Commit

Permalink
Rename default function in versions.js task
Browse files Browse the repository at this point in the history
Renamed from `bumpVersion` to `bumpVersions` for consistency with the default functions of other tasks.
  • Loading branch information
mcaskill committed Oct 13, 2022
1 parent 14afe22 commit 9219a4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import concatFiles from './tasks/concats.js';
import compileScripts from './tasks/scripts.js';
import compileStyles from './tasks/styles.js';
import compileSVGs from './tasks/svgs.js';
import bumpVersion from './tasks/versions.js';
import bumpVersions from './tasks/versions.js';

concatFiles();
compileScripts();
compileStyles();
compileSVGs();
bumpVersion();
bumpVersions();
2 changes: 1 addition & 1 deletion build/tasks/versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const productionVersionFilesArgs = [
* If `null`, default production options are used.
* @return {Promise}
*/
export default async function bumpVersion(versionOptions = null) {
export default async function bumpVersions(versionOptions = null) {
if (versionOptions == null) {
versionOptions = productionVersionOptions;
} else if (
Expand Down

0 comments on commit 9219a4c

Please sign in to comment.