gd-sprest-def 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/clean.js
CHANGED
|
@@ -58,13 +58,13 @@ https.get("https://graph.microsoft.com/v1.0/$metadata", (res) => {
|
|
|
58
58
|
// Rename the "case" type
|
|
59
59
|
// Rename the "return" type
|
|
60
60
|
let content = data.toString()
|
|
61
|
-
.replace('Name="case"', 'Name="_case"')
|
|
62
|
-
.replace('Name="delete"', 'Name="_delete"')
|
|
63
|
-
.replace('Name="false"', 'Name="_false"')
|
|
64
|
-
.replace('Name="if"', 'Name="_if"')
|
|
65
|
-
.replace('Name="import"', 'Name="_import"')
|
|
66
|
-
.replace('Name="return"', 'Name="_return"')
|
|
67
|
-
.replace('Name="true"', 'Name="_true"');
|
|
61
|
+
.replace('<Action Name="case"', '<Action Name="_case"')
|
|
62
|
+
.replace('<Action Name="delete"', '<Action Name="_delete"')
|
|
63
|
+
.replace('<Action Name="false"', '<Action Name="_false"')
|
|
64
|
+
.replace('<Action Name="if"', '<Action Name="_if"')
|
|
65
|
+
.replace('<Action Name="import"', '<Action Name="_import"')
|
|
66
|
+
.replace('<Action Name="return"', '<Action Name="_return"')
|
|
67
|
+
.replace('<Action Name="true"', '<Action Name="_true"');
|
|
68
68
|
|
|
69
69
|
// Write the file
|
|
70
70
|
fs.writeFileSync("graph.xml", content);
|