mirror of
https://github.com/servo/servo.git
synced 2025-06-26 10:04:33 +01:00
12 lines
235 B
JavaScript
12 lines
235 B
JavaScript
|
|
var fs = require("fs")
|
|
, pth = require("path")
|
|
, id = process.argv[2]
|
|
;
|
|
|
|
if (!id) {
|
|
console.log("Missing ID");
|
|
process.exit(1);
|
|
}
|
|
|
|
console.log(JSON.parse(fs.readFileSync(pth.join(__dirname, "id2path.json"), "utf8"))[id]);
|