fix: validate Windows CloudInit YAML on save

Co-authored-by: a110605 <5744158+a110605@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-08-05 15:56:22 +08:00
committed by Andy Lee
co-authored by a110605
parent ace28d1c0e
commit 535a6067c9
2 changed files with 0 additions and 8 deletions
@@ -249,10 +249,6 @@ export default {
},
validateCloudInit() {
if (this.isWindows) {
return;
}
if (this.userScript) {
try {
jsyaml.load(this.userScript);
@@ -427,10 +427,6 @@ export default {
},
validateCloudInit() {
if (this.isWindows) {
return;
}
if (this.userScript) {
try {
jsyaml.load(this.userScript);