diff --git a/lib/get-files.js b/lib/get-files.js index 3ee2539..fa2ebdf 100644 --- a/lib/get-files.js +++ b/lib/get-files.js @@ -136,8 +136,6 @@ async function docker(path, { // convert all filenames into absolute paths const search = search_.map(file => asAbsolute(file, path)) - const dockerIgnore = await maybeRead(resolve(path, '.dockerignore'), null) - // compile list of ignored patterns and files const dockerIgnore = await maybeRead(resolve(path, '.dockerignore'), null)