7 lines
179 B
Plaintext
7 lines
179 B
Plaintext
|
#!/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');
|