You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
letunsupportedMessage=`<span style="color: #EE9D28;">⚠<b>I'm sorry, but /test only supports Python and Java</b><br></span> While ${unsupportedLanguage} is not supported, I will generate a suggestion below. `
449
-
// handle the case when language is undefined
450
-
if(!unsupportedLanguage){
451
-
unsupportedMessage=`<span style="color: #EE9D28;">⚠<b>I'm sorry, but /test only supports Python and Java</b><br></span> I will still generate a suggestion below. `
unsupportedMessage=`<span style="color: #EE9D28;">⚠<b>External File Detected:</b> ${fileName} is outside of workspace scope.<br></span> However, I can still help you create unit tests for ${fileName} here.`
453
+
}else{
454
+
// File is in workspace, check language support
455
+
if(unsupportedLanguage){
456
+
unsupportedMessage=`<span style="color: #EE9D28;">⚠<b>I'm sorry, but /test only supports Python and Java</b><br></span> While ${unsupportedLanguage} is not supported, I will generate a suggestion below.`
457
+
}else{
458
+
unsupportedMessage=`<span style="color: #EE9D28;">⚠<b>I'm sorry, but /test only supports Python and Java</b><br></span> I will still generate a suggestion below.`
0 commit comments