Commit 8e58cda8 by Nicolás Venturo

Revert "Fix ignoring mock artifacts on release"

This reverts commit e7bded65.
parent e7bded65
...@@ -18,8 +18,8 @@ const pkgFiles = readJSON('package.json').files; ...@@ -18,8 +18,8 @@ const pkgFiles = readJSON('package.json').files;
// Get only negated patterns. // Get only negated patterns.
const ignorePatterns = pkgFiles const ignorePatterns = pkgFiles
.filter(pat => pat.startsWith('!')) .filter(pat => pat.startsWith('!'))
// Remove the negation part and initial slash. Makes micromatch usage more intuitive. // Remove the negation part. Makes micromatch usage more intuitive.
.map(pat => pat.slice(1).replace(/^\//, '')); .map(pat => pat.slice(1));
const ignorePatternsSubtrees = ignorePatterns const ignorePatternsSubtrees = ignorePatterns
// Add **/* to ignore all files contained in the directories. // Add **/* to ignore all files contained in the directories.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment