From 42a2b907ce1e7b38459ec6f1228dbe46432f86c8 Mon Sep 17 00:00:00 2001 From: Cmdr McDonald Date: Sun, 13 Nov 2016 16:51:07 +0000 Subject: [PATCH] Linting --- src/app/Coriolis.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/Coriolis.jsx b/src/app/Coriolis.jsx index 303f94d2..8f5ca1be 100644 --- a/src/app/Coriolis.jsx +++ b/src/app/Coriolis.jsx @@ -78,11 +78,12 @@ export default class Coriolis extends React.Component { /** * Import a build directly + * @param r {Object} the route object */ _importBuild(r) { try { // Need to decode and gunzip the data - const data = zlib.gunzipSync(new Buffer(Utils.fromUrlSafe(r.params.data), 'base64')) + const data = zlib.gunzipSync(new Buffer(Utils.fromUrlSafe(r.params.data), 'base64')); const json = JSON.parse(data); const ship = CompanionApiUtils.shipFromJson(json); r.params.ship = ship.id;