You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Shanedell (via GitHub)" <gi...@apache.org> on 2023/05/10 20:38:04 UTC

[GitHub] [daffodil-vscode] Shanedell commented on issue #622: TDML configuration causing server timeout issue when running from launch.json

Shanedell commented on issue #622:
URL: https://github.com/apache/daffodil-vscode/issues/622#issuecomment-1542778256

   I believe the fix for this is adding an else to if that checks for certain actions eg:
   
   ```ts
   if (
       config?.tdmlConfig?.action === 'generate' ||
       config?.tdmlConfig?.action === 'append' ||
       config?.tdmlConfig?.action === 'execute'
   ) {
       ...
   } else {
       // either action is 'none' or bad action provided don't prompt
       config.tdmlConfig.name = ''
       config.tdmlConfig.description = ''
       config.tdmlConfig.path = '' 
   }
   ```
   
   This will make sure when the action is 'none' or not a good action the user won't get prompted.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org