mirror of
https://github.com/actions/labeler.git
synced 2025-12-24 20:14:26 +08:00
build
This commit is contained in:
11
node_modules/@babel/parser/bin/babel-parser.js
generated
vendored
11
node_modules/@babel/parser/bin/babel-parser.js
generated
vendored
@@ -7,10 +7,9 @@ var fs = require("fs");
|
||||
var filename = process.argv[2];
|
||||
if (!filename) {
|
||||
console.error("no filename specified");
|
||||
process.exit(0);
|
||||
} else {
|
||||
var file = fs.readFileSync(filename, "utf8");
|
||||
var ast = parser.parse(file);
|
||||
|
||||
console.log(JSON.stringify(ast, null, " "));
|
||||
}
|
||||
|
||||
var file = fs.readFileSync(filename, "utf8");
|
||||
var ast = parser.parse(file);
|
||||
|
||||
console.log(JSON.stringify(ast, null, " "));
|
||||
|
||||
Reference in New Issue
Block a user