@datapos/datapos-development 0.3.119 → 0.3.120
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.
|
@@ -138,9 +138,7 @@ async function M() {
|
|
|
138
138
|
);
|
|
139
139
|
const a = await t.readFile("./README.md", "utf8"), c = a.indexOf(o), l = a.indexOf(e);
|
|
140
140
|
(c === -1 || l === -1) && (console.error("❌ Markers not found in README.md."), process.exit(1));
|
|
141
|
-
const f = r.join(" "), p = a.substring(0, c + o.length) +
|
|
142
|
-
` + f + `
|
|
143
|
-
` + a.substring(l);
|
|
141
|
+
const f = r.join(" "), p = a.substring(0, c + o.length) + f + a.substring(l);
|
|
144
142
|
await t.writeFile("README.md", p, "utf8"), console.info("✅ OWASP dependency check badges inserted into README.md");
|
|
145
143
|
} catch (i) {
|
|
146
144
|
console.error("❌ Error updating README with OWASP badges:", i), process.exit(1);
|
package/package.json
CHANGED