Browse Source

fix lint

master
Nathan Rajlich 8 years ago
parent
commit
c11131310c
  1. 2
      lib/read-metadata.js
  2. 4
      test/index.js

2
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,

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

Loading…
Cancel
Save