@apt-repositories/generator
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -140,7 +140,7 @@ #!/usr/bin/env node | ||
import { cp, mkdir, readdir, rm } from "node:fs/promises"; | ||
import { join, resolve } from "node:path"; | ||
import { join } from "node:path"; | ||
import { argv } from "node:process"; | ||
var DEBIAN_COMPONENT = process.env.DEBIAN_COMPONENT ?? "main"; | ||
var DEBIAN_OBSERVABLES = process.env.DEBIAN_OBSERVABLES?.split("\n").filter(Boolean) ?? []; | ||
var OUTPUT_DIRECTORY = resolve(process.env.OUTPUT_DIRECTORY ?? argv[2] ?? process.cwd()); | ||
var OUTPUT_DIRECTORY = process.env.OUTPUT_DIRECTORY ?? argv[2] ?? process.cwd(); | ||
var main = async () => { | ||
@@ -154,3 +154,3 @@ console.log( | ||
console.log(`Processing '${observable}'...`); | ||
const observedPathDebs = resolve(join("apt", observable, DEBIAN_COMPONENT)); | ||
const observedPathDebs = join("apt", observable, DEBIAN_COMPONENT); | ||
console.log(` Reading contents of '${observedPathDebs}'...`); | ||
@@ -157,0 +157,0 @@ const debs = await readdir(observedPathDebs).catch(() => []); |
{ | ||
"$schema": "https://json.schemastore.org/package.json", | ||
"name": "@apt-repositories/generator", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "Oliver Salzburg <oliver.salzburg@gmail.com>", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78480