<commit_before>(function(global) {
  function emitUnauthorized(status){
    if(status == 403  || status == 401) {
      this._emit('error', new RemoteStorage.Unauthorized())
    }
    return arguments;
  }

  var SyncedGetPutDelete = {
    get: function(path) {
      if(this.caching.cachePath(path)) {
        return this.local.get(path);
      } else {
        return this.remote.get(path);<commit_msg>bugfix in wrapped promise<commit_after>(function(global) {
  function emitUnauthorized(status){
    if(status == 403  || status == 401) {
      this._emit('error', new RemoteStorage.Unauthorized())
    }
    var p = promising();
    return p.fulfill.apply(p, arguments);
  }

  var SyncedGetPutDelete = {
    get: function(path) {
      if(this.caching.cachePath(path)) {
        return this.local.get(path);
      } else {
        return this.remote.get(path);
{'fraction_non_alphanumeric': 0.13988439306358383, 'fraction_numerical': 0.013872832369942197, 'mean_word_length': 3.027906976744186, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6572188', 'n_tokens_mistral': 281, 'n_tokens_neox': 266, 'n_words': 50}