Fix typo
This commit is contained in:
parent
5cc852cc01
commit
ad53768ac7
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ function validateLayer(layerJson: LayerConfigJson, context?: string): string[] {
|
||||||
const remoteImages = images.filter(img => img.indexOf("http") == 0)
|
const remoteImages = images.filter(img => img.indexOf("http") == 0)
|
||||||
for (const remoteImage of remoteImages) {
|
for (const remoteImage of remoteImages) {
|
||||||
errorCount.push("Found a remote image: " + remoteImage + " in layer " + layer.id + ", please download it.")
|
errorCount.push("Found a remote image: " + remoteImage + " in layer " + layer.id + ", please download it.")
|
||||||
const path = remoteImage.substring(remoteImage.lastIndexOf("/") + )
|
const path = remoteImage.substring(remoteImage.lastIndexOf("/") + 1)
|
||||||
linuxHints.push("wget "+remoteImage)
|
linuxHints.push("wget "+remoteImage)
|
||||||
linuxHints.push(`echo '{"path":"${path}", "license": "<insert license here>", "authors": [ "<insert author(s) here"], "sources": [${remoteImage}]`)
|
linuxHints.push(`echo '{"path":"${path}", "license": "<insert license here>", "authors": [ "<insert author(s) here"], "sources": [${remoteImage}]`)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue