Skip to content

Commit 0769a1c

Browse files
Fix comments.
1 parent 762eba5 commit 0769a1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gulpfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const COMPILER_DEFAULT_ARGS = {
9494
* @return {*} A stream that finishes when compliation finishes.
9595
*/
9696
function compile(srcs, out, args) {
97-
// Get
97+
// Get the compiler arguments, using the defaults if not specified.
9898
const combinedArgs = Object.assign({}, COMPILER_DEFAULT_ARGS, args);
9999
return gulp
100100
.src(srcs)
@@ -138,6 +138,7 @@ function getTmpJsPath(locale) {
138138
function repeatTaskForAllLocales(taskName, dependencies, operation) {
139139
const tasks = [];
140140
ALL_LOCALES.forEach((locale) => {
141+
// Convert build-js-$ to build-js-fr, for example.
141142
const replaceTokens = (name) => name.replace(/\$/g, locale);
142143

143144
const localeTaskName = replaceTokens(taskName);

0 commit comments

Comments
 (0)