<commit_before>#!/usr/bin/env node

//this hook installs all your plugins

var pluginlist = [
    "https://github.com/extendedmind/ionic-plugin-keyboard",
    "cordova-plugin-vibration",
    "cordova-plugin-media",
    "https://github.com/apache/cordova-plugin-splashscreen.git",
    "https://github.com/extendedmind/Calendar-PhoneGap-Plugin.git",
    "https://github.com/extendedmind/cordova-plugin-local-notifications",
    "https://github.com/leohenning/KeepScreenOnPlugin",
    "https://github.com/extendedmind/cordova-webintent",
    "https://github.com/extendedmind/phonegap-backbutton-plugin",
    "cordova-plugin-device",
    "cordova-plugin-whitelist",
    "cordova-plugin-inappbrowser"
];

// no need to configure below

var fs = require('fs');
var path = require('path');
var sys = require('sys')
var exec = require('child_process').exec;

var cmd = "";
for (var i=0; i < (pluginlist.length-1); i++){
  if (i>0){
    cmd += " && ";
  }
  cmd += "cordova plugin add " + pluginlist[i];
}

function puts(error, stdout, stderr) {
  sys.puts(stdout)
}
exec(cmd, puts);<commit_msg>Fixed index bug<commit_after>#!/usr/bin/env node

//this hook installs all your plugins

var pluginlist = [
    "https://github.com/extendedmind/ionic-plugin-keyboard",
    "cordova-plugin-vibration",
    "cordova-plugin-media",
    "https://github.com/apache/cordova-plugin-splashscreen.git",
    "https://github.com/extendedmind/Calendar-PhoneGap-Plugin.git",
    "https://github.com/extendedmind/cordova-plugin-local-notifications",
    "https://github.com/leohenning/KeepScreenOnPlugin",
    "https://github.com/extendedmind/cordova-webintent",
    "https://github.com/extendedmind/phonegap-backbutton-plugin",
    "cordova-plugin-device",
    "cordova-plugin-whitelist",
    "cordova-plugin-inappbrowser"
];

// no need to configure below

var fs = require('fs');
var path = require('path');
var sys = require('sys')
var exec = require('child_process').exec;

var cmd = "";
for (var i=0; i < (pluginlist.length); i++){
  if (i>0){
    cmd += " && ";
  }
  cmd += "cordova plugin add " + pluginlist[i];
}

function puts(error, stdout, stderr) {
  sys.puts(stdout)
}
exec(cmd, puts);
{'fraction_non_alphanumeric': 0.17633517495395948, 'fraction_numerical': 0.0023020257826887663, 'mean_word_length': 3.9386363636363635, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 14, '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': '6438139', 'n_tokens_mistral': 757, 'n_tokens_neox': 742, 'n_words': 125}