Skip to content

Instantly share code, notes, and snippets.


aghArdeshir aghArdeshir

View GitHub Profile
aghArdeshir / reproduce-bug.js
Last active Oct 9, 2018
reproduce simple-git bug
View reproduce-bug.js
// put it in a folder and constantly run `node reproduce-bug.js`
// first time may take a little long
const childProcess = require("child_process");
const fs = require("fs");
const dirs = ["somerepo1", "somerepo2"];
const filename = "something.js";
let counter = 0;