@shipstatic/drop 2.13.0-beta.3 → 2.13.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -276,6 +276,7 @@ function rebase(line, base) {
276
276
  let body = negated ? pattern.slice(1) : pattern;
277
277
  const directoryOnly = body.endsWith("/");
278
278
  if (directoryOnly) body = body.slice(0, -1);
279
+ if (body.replace(/^\//, "") === "") return null;
279
280
  const rebased = body.includes("/") ? `${folder}/${body.replace(/^\//, "")}` : `${folder}/**/${body}`;
280
281
  return `${negated ? "!" : ""}${rebased}${directoryOnly ? "/" : ""}`;
281
282
  }
@@ -1019,7 +1020,7 @@ async function processFiles(input, { limits, onStatus }) {
1019
1020
  needsBuild: true,
1020
1021
  status: {
1021
1022
  title: "Ready",
1022
- details: `${pluralize(ready.length, "file", "files", true)} ready \u2014 project will be built`
1023
+ details: `${pluralize(ready.length, "file", "files", true)} ready. We'll build the project.`
1023
1024
  }
1024
1025
  };
1025
1026
  }