7 lines
179 B
JavaScript
Executable File
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');
|