fix(vm): add isWindows guard to validateCloudInit in template version

This commit is contained in:
copilot-swe-agent[bot] 2026-07-20 10:46:27 +00:00 committed by Andy Lee
parent 1df5af32b8
commit ace28d1c0e

View File

@ -249,6 +249,10 @@ export default {
},
validateCloudInit() {
if (this.isWindows) {
return;
}
if (this.userScript) {
try {
jsyaml.load(this.userScript);