From c11131310c5f23ec05714e3f11561d0cf0f101d9 Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Thu, 1 Dec 2016 10:40:44 -0800 Subject: [PATCH] fix lint --- lib/read-metadata.js | 2 +- test/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/read-metadata.js b/lib/read-metadata.js index 21d6275..fddba12 100644 --- a/lib/read-metadata.js +++ b/lib/read-metadata.js @@ -12,7 +12,7 @@ const listPackage = { } } -module.exports = async function getMetadata (path, { +module.exports = async function getMetadata(path, { deploymentType = 'npm', deploymentName, quiet = false, diff --git a/test/index.js b/test/index.js index 8c6faa7..2e30793 100644 --- a/test/index.js +++ b/test/index.js @@ -16,8 +16,8 @@ const base = path => path.replace(prefix, '') const fixture = name => resolve(`./test/_fixtures/${name}`) // overload to force debugging -const getNpmFiles = async (dir) => { - const { pkg, nowConfig } = await readMetadata(dir, { quiet: true, strict: false }) +const getNpmFiles = async dir => { + const {pkg, nowConfig} = await readMetadata(dir, {quiet: true, strict: false}) return getNpmFiles_(dir, pkg, nowConfig) }