diff --git a/scripts/generateLayerOverview.ts b/scripts/generateLayerOverview.ts index 8bcbafd..6443266 100644 --- a/scripts/generateLayerOverview.ts +++ b/scripts/generateLayerOverview.ts @@ -66,7 +66,7 @@ function validateLayer(layerJson: LayerConfigJson, context?: string): string[] { errorCount.push("Found a remote image: " + remoteImage + " in layer " + layer.id + ", please download it.") const path = remoteImage.substring(remoteImage.lastIndexOf("/") + 1) linuxHints.push("wget " + remoteImage) - linuxHints.push(`echo '{"path":"${path}", "license": "", "authors": [ "", "authors": [ " ${path}.license_info.json`) } for (const image of images) { if (!knownPaths.has(image)) { @@ -129,6 +129,7 @@ if (layerErrorCount.length + themeErrorCount.length == 0) { console.log(errors) const msg = (`Found ${layerErrorCount.length} errors in the layers; ${themeErrorCount.length} errors in the themes`) console.log(msg) + console.log(linuxHints.join("\n")) if (process.argv.indexOf("--report") >= 0) { console.log("Writing report!") writeFileSync("layer_report.txt", errors)