We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06b224b commit 97887e1Copy full SHA for 97887e1
server/src/handlers/validationHandler.ts
@@ -117,6 +117,10 @@ export class ValidationHandler extends YamlValidationHandler {
117
const cfnLintExec = cfnLint.exec();
118
cfnLintExec.then(value => {
119
this.cfnConnection.sendDiagnostics({ uri: uri.toString(), diagnostics: value });
120
+ if (this.cfnSettings.isPreviewing[uri]) {
121
+ this.cfnConnection.console.log('preview file is available');
122
+ this.cfnConnection.sendNotification('cfn/previewIsAvailable', uri);
123
+ }
124
resolve(value);
125
});
126
cfnLintExec.catch(value => {
0 commit comments