cs142/project3/node_modules/jshint/bin/apply

7 lines
179 B
Plaintext
Raw Permalink Normal View History

2020-08-01 22:26:11 +00:00
#!/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');