returnPromise.reject<any>(newError(localize('parseErrors',"Unable to write to the keybindings configuration file. Please open it to correct errors/warnings in the file and try again.")));
}
if(parsed.result){
if(!isArray(parsed.result)){
reference.dispose();
returnPromise.reject<any>(newError(localize('errorInvalidConfiguration',"Unable to write to the keybindings configuration file. It has an object which is not of type Array. Please open the file to clean up and try again.")));