chore: run format
This commit is contained in:
@@ -3,10 +3,7 @@
|
|||||||
"task-master-ai": {
|
"task-master-ai": {
|
||||||
"type": "stdio",
|
"type": "stdio",
|
||||||
"command": "npx",
|
"command": "npx",
|
||||||
"args": [
|
"args": ["-y", "task-master-ai"]
|
||||||
"-y",
|
|
||||||
"task-master-ai"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -63,9 +63,11 @@ export const kiroProfile = createProfile({
|
|||||||
|
|
||||||
// Copy all .kiro.hook files
|
// Copy all .kiro.hook files
|
||||||
if (fs.existsSync(hooksSourceDir)) {
|
if (fs.existsSync(hooksSourceDir)) {
|
||||||
const hookFiles = fs.readdirSync(hooksSourceDir).filter(f => f.endsWith('.kiro.hook'));
|
const hookFiles = fs
|
||||||
|
.readdirSync(hooksSourceDir)
|
||||||
|
.filter((f) => f.endsWith('.kiro.hook'));
|
||||||
|
|
||||||
hookFiles.forEach(file => {
|
hookFiles.forEach((file) => {
|
||||||
const sourcePath = path.join(hooksSourceDir, file);
|
const sourcePath = path.join(hooksSourceDir, file);
|
||||||
const targetPath = path.join(hooksTargetDir, file);
|
const targetPath = path.join(hooksTargetDir, file);
|
||||||
|
|
||||||
@@ -73,7 +75,10 @@ export const kiroProfile = createProfile({
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (hookFiles.length > 0) {
|
if (hookFiles.length > 0) {
|
||||||
log('info', `[Kiro] Installed ${hookFiles.length} Taskmaster hooks in .kiro/hooks/`);
|
log(
|
||||||
|
'info',
|
||||||
|
`[Kiro] Installed ${hookFiles.length} Taskmaster hooks in .kiro/hooks/`
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user