opencode-gitlab-dap 1.15.1 → 1.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4120,7 +4120,10 @@ function downloadSkillFromSkillsSh(identifier) {
|
|
|
4120
4120
|
if (statSync(full).isDirectory()) {
|
|
4121
4121
|
walkStack.push({ dir: full, prefix: rel });
|
|
4122
4122
|
} else if (entry !== "SKILL.md") {
|
|
4123
|
-
|
|
4123
|
+
try {
|
|
4124
|
+
files.push({ path: rel, content: readFileSync2(full, "utf-8") });
|
|
4125
|
+
} catch {
|
|
4126
|
+
}
|
|
4124
4127
|
}
|
|
4125
4128
|
}
|
|
4126
4129
|
}
|
|
@@ -4422,7 +4425,7 @@ Install: \`gitlab_skill_install(name="${r.identifier}", source="skills.sh")\``
|
|
|
4422
4425
|
args.project_id,
|
|
4423
4426
|
`skill:${downloaded.name}`,
|
|
4424
4427
|
`Scripts for skill "${downloaded.name}" (installed from skills.sh:${args.name})`,
|
|
4425
|
-
scriptFiles.map((f) => ({ file_path: f.path, content: f.content })),
|
|
4428
|
+
scriptFiles.map((f) => ({ file_path: f.path, content: f.content || "\n" })),
|
|
4426
4429
|
"private"
|
|
4427
4430
|
);
|
|
4428
4431
|
snippetId = snippet.id;
|