Not swearing: DAM @$$ Heisenbug fixed!

This commit is contained in:
Mark Nadal 2018-08-24 16:49:57 -07:00
parent 2630cc8223
commit 001eb6f15d
3 changed files with 2 additions and 2 deletions

1
gun.js
View File

@ -1942,7 +1942,6 @@
var dup = ctx.dup, id, hash, msg, tmp = raw[0];
try{msg = JSON.parse(raw);
}catch(e){console.log('DAM JSON parse error', e)}
console.log("hear:", msg);
if('{' === tmp){
if(!msg){ return }
if(dup.check(id = msg['#'])){ return }

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "gun",
"version": "0.9.9998",
"version": "0.9.99991",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -45,6 +45,7 @@ describe("The Holy Grail Test!", function(){
});
it("GUN started!", function(){
console.log("I must have screwed up my NPM installs, server won't start properly but Holy-Grail passes if I do it manually. Will fix later.");
return server.run(function(test){
var env = test.props;
test.async();