@apt-repositories/generator
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -15,9 +15,9 @@ #!/usr/bin/env node | ||
await mkdir(OUTPUT_DIRECTORY, { recursive: true }); | ||
for (const observables of DEBIAN_OBSERVABLES) { | ||
const observedPathComponent = join("apt", observables); | ||
const observedPathDebs = resolve(join(observedPathComponent, DEBIAN_COMPONENT)); | ||
console.log(`Reading '${observedPathDebs}'...`); | ||
for (const observable of DEBIAN_OBSERVABLES) { | ||
console.log(`Processing '${observable}'...`); | ||
const observedPathDebs = resolve(join(observable, DEBIAN_COMPONENT)); | ||
console.log(` Reading contents of '${observedPathDebs}'...`); | ||
const debs = await readdir(observedPathDebs).catch(() => []); | ||
console.log( | ||
`Component '${DEBIAN_COMPONENT}' of '${observables}' has '${debs.length.toString()}' packages.` | ||
` Component '${DEBIAN_COMPONENT}' of '${observable}' has '${debs.length.toString()}' packages.` | ||
); | ||
@@ -31,3 +31,3 @@ for (const deb of debs) { | ||
} | ||
console.log(`Component '${DEBIAN_COMPONENT}' of '${observables}' merged successfully.`); | ||
console.log(` Component '${DEBIAN_COMPONENT}' of '${observable}' merged successfully.`); | ||
} | ||
@@ -34,0 +34,0 @@ console.log("Done."); |
{ | ||
"$schema": "https://json.schemastore.org/package.json", | ||
"name": "@apt-repositories/generator", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "Oliver Salzburg <oliver.salzburg@gmail.com>", |
Sorry, the diff of this file is not supported yet
44533