cs142/project3/node_modules/jshint/bin/apply
2020-08-01 19:26:11 -03:00

7 lines
179 B
JavaScript
Executable File

#!/usr/bin/env node
var shjs = require("shelljs");
var url = "https://github.com/jshint/jshint/pull/" + process.argv[2] + ".diff";
shjs.exec('curl "' + url + '" | git apply');