@infinitedusky/indusk-mcp 1.11.6 → 1.11.7
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.
|
@@ -196,8 +196,14 @@ export async function update(projectRoot) {
|
|
|
196
196
|
for (const file of hookFiles) {
|
|
197
197
|
const sourceFile = join(hooksSource, file);
|
|
198
198
|
const targetFile = join(hooksTarget, file);
|
|
199
|
-
if (!existsSync(sourceFile)
|
|
199
|
+
if (!existsSync(sourceFile))
|
|
200
200
|
continue;
|
|
201
|
+
if (!existsSync(targetFile)) {
|
|
202
|
+
cpSync(sourceFile, targetFile);
|
|
203
|
+
console.info(` added: ${file}`);
|
|
204
|
+
hooksUpdated++;
|
|
205
|
+
continue;
|
|
206
|
+
}
|
|
201
207
|
const sourceH = fileHash(sourceFile);
|
|
202
208
|
const targetH = fileHash(targetFile);
|
|
203
209
|
if (sourceH === targetH) {
|