abhi-plugin-gatsby-preview
Advanced tools
Comparing version
@@ -19,11 +19,4 @@ "use strict"; | ||
console.log(`Received data for status msg`, data); | ||
let event; | ||
const event = data && data.event; | ||
try { | ||
const jsonData = JSON.parse(data); | ||
event = jsonData && jsonData.event; | ||
} catch (e) { | ||
console.error(e); | ||
} | ||
if (event) { | ||
@@ -30,0 +23,0 @@ showStatusBar(true); |
{ | ||
"name": "abhi-plugin-gatsby-preview", | ||
"description": "A Gatsby plugin shows status of cloud preview", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"author": "Abhi Aiyer", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
2130
-5.79%48
-11.11%