From c60fed4d58d7c30687087d740d42f676c73e907f Mon Sep 17 00:00:00 2001 From: nanov Date: Tue, 5 Nov 2019 05:54:09 +0200 Subject: [PATCH] chore: lint --- lib/orders/H004/serializers/download.js | 1 - lib/storages/tracesStorage.js | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/orders/H004/serializers/download.js b/lib/orders/H004/serializers/download.js index 4ae2b99..1fbd8be 100644 --- a/lib/orders/H004/serializers/download.js +++ b/lib/orders/H004/serializers/download.js @@ -3,7 +3,6 @@ const js2xmlparser = require('js2xmlparser'); const Crypto = require('../../../crypto/Crypto'); - const genericSerializer = require('./generic'); module.exports = { diff --git a/lib/storages/tracesStorage.js b/lib/storages/tracesStorage.js index 9fc29a6..6cc99b1 100644 --- a/lib/storages/tracesStorage.js +++ b/lib/storages/tracesStorage.js @@ -4,9 +4,7 @@ const fs = require('fs'); const uuidv1 = require('uuid/v1'); -const traceName = (uuid, label, type, ext = 'xml') => { - return `${uuid}_${label}_${type}.${ext}`; -}; +const traceName = (uuid, label, type, ext = 'xml') => `${uuid}_${label}_${type}.${ext}`; module.exports = dir => ({ traceData: '',