Skip to content

Commit bef4688

Browse files
author
Eric Koleda
committed
Fix error message for unequal range sizes.
1 parent 28118ef commit bef4688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

date_add_and_subtract/Code.gs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function multimap(args, func) {
155155
// that should apply to each row/column in the other sets.
156156
lengths.forEach(function(length) {
157157
if (length != max && length > 1) {
158-
throw 'All input ranges must be the same size: ' + length;
158+
throw 'All input ranges must be the same size: ' + max;
159159
}
160160
});
161161

0 commit comments

Comments
 (0)