Merge pull request #1795 from kchadha/cloud-rename-bugfix

Serialize variable isCloud flag to xml.
This commit is contained in:
Karishma Chadha 2018-12-03 13:21:25 -05:00 committed by GitHub
commit 3952c7e4fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,8 @@ class Variable {
toXML (isLocal) {
isLocal = (isLocal === true);
return `<variable type="${this.type}" id="${this.id}" islocal="${isLocal}">${this.name}</variable>`;
return `<variable type="${this.type}" id="${this.id}" islocal="${isLocal
}" iscloud="${this.isCloud}">${this.name}</variable>`;
}
/**