@@ -25,28 +25,28 @@ <h1><a href="index.html">All files</a> ooxml-validator.ts</h1>
2525 < div class ='fl pad1y space-right2 '>
2626 < span class ="strong "> 100% </ span >
2727 < span class ="quiet "> Statements</ span >
28- < span class ='fraction '> 94/94 </ span >
28+ < span class ='fraction '> 99/99 </ span >
2929 </ div >
3030
3131
3232 < div class ='fl pad1y space-right2 '>
33- < span class ="strong "> 87.23 % </ span >
33+ < span class ="strong "> 88.04 % </ span >
3434 < span class ="quiet "> Branches</ span >
35- < span class ='fraction '> 82/94 </ span >
35+ < span class ='fraction '> 81/92 </ span >
3636 </ div >
3737
3838
3939 < div class ='fl pad1y space-right2 '>
4040 < span class ="strong "> 100% </ span >
4141 < span class ="quiet "> Functions</ span >
42- < span class ='fraction '> 12/12 </ span >
42+ < span class ='fraction '> 13/13 </ span >
4343 </ div >
4444
4545
4646 < div class ='fl pad1y space-right2 '>
4747 < span class ="strong "> 100% </ span >
4848 < span class ="quiet "> Lines</ span >
49- < span class ='fraction '> 91/91 </ span >
49+ < span class ='fraction '> 96/96 </ span >
5050 </ div >
5151
5252
@@ -450,7 +450,18 @@ <h1><a href="index.html">All files</a> ooxml-validator.ts</h1>
450450< a name ='L391 '> </ a > < a href ='#L391 '> 391</ a >
451451< a name ='L392 '> </ a > < a href ='#L392 '> 392</ a >
452452< a name ='L393 '> </ a > < a href ='#L393 '> 393</ a >
453- < a name ='L394 '> </ a > < a href ='#L394 '> 394</ a > </ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-neutral "> </ span >
453+ < a name ='L394 '> </ a > < a href ='#L394 '> 394</ a >
454+ < a name ='L395 '> </ a > < a href ='#L395 '> 395</ a >
455+ < a name ='L396 '> </ a > < a href ='#L396 '> 396</ a >
456+ < a name ='L397 '> </ a > < a href ='#L397 '> 397</ a >
457+ < a name ='L398 '> </ a > < a href ='#L398 '> 398</ a >
458+ < a name ='L399 '> </ a > < a href ='#L399 '> 399</ a >
459+ < a name ='L400 '> </ a > < a href ='#L400 '> 400</ a >
460+ < a name ='L401 '> </ a > < a href ='#L401 '> 401</ a >
461+ < a name ='L402 '> </ a > < a href ='#L402 '> 402</ a >
462+ < a name ='L403 '> </ a > < a href ='#L403 '> 403</ a >
463+ < a name ='L404 '> </ a > < a href ='#L404 '> 404</ a >
464+ < a name ='L405 '> </ a > < a href ='#L405 '> 405</ a > </ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-neutral "> </ span >
454465< span class ="cline-any cline-yes "> 1x</ span >
455466< span class ="cline-any cline-yes "> 1x</ span >
456467< span class ="cline-any cline-yes "> 1x</ span >
@@ -837,6 +848,17 @@ <h1><a href="index.html">All files</a> ooxml-validator.ts</h1>
837848< span class ="cline-any cline-neutral "> </ span >
838849< span class ="cline-any cline-yes "> 4x</ span >
839850< span class ="cline-any cline-neutral "> </ span >
851+ < span class ="cline-any cline-yes "> 4x</ span >
852+ < span class ="cline-any cline-yes "> 2x</ span >
853+ < span class ="cline-any cline-yes "> 2x</ span >
854+ < span class ="cline-any cline-neutral "> </ span >
855+ < span class ="cline-any cline-neutral "> </ span >
856+ < span class ="cline-any cline-neutral "> </ span >
857+ < span class ="cline-any cline-yes "> 1x</ span >
858+ < span class ="cline-any cline-neutral "> </ span >
859+ < span class ="cline-any cline-yes "> 1x</ span >
860+ < span class ="cline-any cline-neutral "> </ span >
861+ < span class ="cline-any cline-neutral "> </ span >
840862< span class ="cline-any cline-neutral "> </ span >
841863< span class ="cline-any cline-yes "> 4x</ span >
842864< span class ="cline-any cline-yes "> 4x</ span >
@@ -1228,9 +1250,20 @@ <h1><a href="index.html">All files</a> ooxml-validator.ts</h1>
12281250 panel.webview.html = content;
12291251 }
12301252 } catch (error: any) {
1231- const errMsg = error< span class ="branch-0 cbranch-no " title ="branch not covered " > ?.n</ span > ame?.includes('dotnet.')
1232- ? 'The ".NET Install Tool for Extension Authors" VS Code extension\nMUST be installed for the OOXML Validator extension to work.'
1233- : error.message || error;
1253+ let errMsg = error.message || error;
1254+
1255+ Object.values(error).some((e: any) => {
1256+ const str = e.toString && e.toString();
1257+ if (
1258+ str &&
1259+ (str.includes('dotnet.showAcquisitionLog') || str.includes('dotnet.ensureDotnetDependencies') || str.includes('dotnet.acquire'))
1260+ ) {
1261+ errMsg =
1262+ 'The ".NET Install Tool for Extension Authors" VS Code extension\nMUST be installed for the OOXML Validator extension to work.';
1263+ return true;
1264+ }
1265+ });
1266+
12341267 panel< span class ="branch-0 cbranch-no " title ="branch not covered " > ?.d</ span > ispose();
12351268 await window.showErrorMessage(errMsg, { modal: true });
12361269 }
@@ -1243,7 +1276,7 @@ <h1><a href="index.html">All files</a> ooxml-validator.ts</h1>
12431276 < div class ='footer quiet pad2 space-top1 center small '>
12441277 Code coverage generated by
12451278 < a href ="https://istanbul.js.org/ " target ="_blank "> istanbul</ a >
1246- at Thu Sep 02 2021 09:05:40 GMT-0700 (Pacific Daylight Time)
1279+ at Fri Sep 03 2021 11:06:49 GMT-0700 (Pacific Daylight Time)
12471280 </ div >
12481281 </ div >
12491282 < script src ="prettify.js "> </ script >
0 commit comments