@salesforce/core 8.2.9 → 8.3.0
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.
|
@@ -225,6 +225,8 @@ const parseDefinitionFile = async (definitionFile) => {
|
|
|
225
225
|
try {
|
|
226
226
|
const fileData = await node_fs_1.promises.readFile(definitionFile, 'utf8');
|
|
227
227
|
const defFileContents = (0, kit_1.parseJson)(fileData);
|
|
228
|
+
// remove key '$schema' from the definition file
|
|
229
|
+
delete defFileContents['$schema'];
|
|
228
230
|
return defFileContents;
|
|
229
231
|
}
|
|
230
232
|
catch (err) {
|