instrlint 0.1.1 → 0.1.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/cli.cjs +2 -2
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2782,8 +2782,8 @@ function readSkillContent(target) {
|
|
|
2782
2782
|
}
|
|
2783
2783
|
}
|
|
2784
2784
|
function installClaudeCode(content, projectRoot, isProject, force, output) {
|
|
2785
|
-
const targetDir = isProject ? join8(projectRoot, ".claude", "
|
|
2786
|
-
const targetPath = join8(targetDir, "
|
|
2785
|
+
const targetDir = isProject ? join8(projectRoot, ".claude", "commands") : join8(homedir(), ".claude", "commands");
|
|
2786
|
+
const targetPath = join8(targetDir, "instrlint.md");
|
|
2787
2787
|
if (existsSync8(targetPath) && !force) {
|
|
2788
2788
|
output.error(t("install.alreadyExists", { path: targetPath }));
|
|
2789
2789
|
return { exitCode: 1, errorMessage: "file already exists" };
|