We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 521904d commit 008877cCopy full SHA for 008877c
1 file changed
main.ts
@@ -61,7 +61,7 @@ if (!collection.includes(":")) {
61
}
62
console.log("resolved collection", collection);
63
64
-if (!/^ghcr\.io\/.*?\/.*?$/.test(collection)) {
+if (!/^ghcr\.io\/.*?\/.*?:.*?$/.test(collection)) {
65
throw new DOMException("Only ghcr.io things are supported right now")
66
67
@@ -72,7 +72,7 @@ const devcontainerCollection = {
72
features: [] as any[],
73
templates: [] as any[],
74
};
75
-const ids = await getAllThings(collection.match(/^ghcr\.io\/(.*?\/.*?)$/)[1]);
+const ids = await getAllThings(collection.match(/^ghcr\.io\/(.*?\/.*?):.*?$/)[1]);
76
console.log(ids)
77
78
for (const id of ids) {
0 commit comments