Skip to content

Commit e0b1d0c

Browse files
committed
Update the format for generate
1 parent 5bc4ec6 commit e0b1d0c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/generate.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
exports.run = function(config, swagger) {
2-
console.log(swagger);
1+
exports.swagger = true;
2+
exports.login = false;
3+
4+
exports.run = function(config, info) {
5+
console.log(info.swagger);
36
};

0 commit comments

Comments
 (0)