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) }