Skip to content

Commit

Permalink
Fixing a regression in utility joinData()
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed Apr 4, 2018
1 parent 24888cf commit c29d1ea
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions lib/haro.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @author Jason Mulligan <jason.mulligan@avoidwork.com>
* @copyright 2018
* @license BSD-3-Clause
* @version 4.3.0
* @version 4.3.1
*/
"use strict";

Expand Down Expand Up @@ -160,8 +160,8 @@
}

function joinData (id, a, b, key, on, type = "inner") {
const result = [],
errorMsg = "More than one record found on ";
const result = [];
let errorMsg = "More than one record found on ";

let error = false;

Expand Down Expand Up @@ -1085,7 +1085,7 @@
}

factory.transform = cast;
factory.version = "4.3.0";
factory.version = "4.3.1";

// Node, AMD & window supported
if (typeof exports !== "undefined") {
Expand Down
4 changes: 2 additions & 2 deletions lib/haro.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/haro.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "haro",
"version": "4.3.0",
"version": "4.3.1",
"description": "Harō is a modern immutable DataStore",
"main": "lib/haro.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/utility.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@
}

function joinData (id, a, b, key, on, type = "inner") {
const result = [],
errorMsg = "More than one record found on ";
const result = [];
let errorMsg = "More than one record found on ";

let error = false;

Expand Down

0 comments on commit c29d1ea

Please sign in to comment.