Skip to content

Commit

Permalink
Update codegen.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuhitoyokoi authored Oct 23, 2022
1 parent 8d23d10 commit e1bac67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion codegen.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var fs = require('fs');
console.log('package main');
console.log('func flows() string { return `');
console.log(require(process.argv[2]));
console.log(fs.readFileSync(process.argv[2]).toString());
console.log('`}');

0 comments on commit e1bac67

Please sign in to comment.