diff --git a/native-src/placeholders_interface/Planceholders.cpp b/native-src/placeholders_interface/Planceholders.cpp index ad99b88e..20346922 100644 --- a/native-src/placeholders_interface/Planceholders.cpp +++ b/native-src/placeholders_interface/Planceholders.cpp @@ -226,7 +226,9 @@ bool Placeholders::ConvertToPlaceholder(const std::wstring &fullPath, const std: if (FAILED(hr)) { // Manejar el error al convertir a marcador de posición - wprintf(L"[ConvertToPlaceholder] Error converting to placeholder, ConvertToPlaceholder failed with HRESULT 0x%X\n", hr); + if (hr != 0x8007017C) { + wprintf(L"[ConvertToPlaceholder] Error converting to placeholder, ConvertToPlaceholder failed with HRESULT 0x%X\n", hr); + } // Puedes obtener información detallada sobre el error usando FormatMessage LPVOID errorMsg; diff --git a/package.json b/package.json index 2000021d..a095d9de 100644 --- a/package.json +++ b/package.json @@ -14,14 +14,14 @@ "scripts": { "========== Testing ==========": "", "test": "vitest", - "test:once": "yarn vitest --run", - "test:one": "yarn vitest related x", + "test:once": "npm run test -- --run", + "test:one": "npm run test -- related x", "========== Build ==========": "", "clean": "node-gyp clean", "build:gyp": "node-gyp configure build", "build:ts": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json", "config:gyp": "python gyp.config.py", - "build": "python gyp.config.py && node-gyp clean && node-gyp configure build && yarn build:ts", + "build": "python gyp.config.py && node-gyp clean && node-gyp configure build && npm run build:ts", "========== Linter ==========": "", "format": "prettier . --check", "format:fix": "prettier . --write",