Skip to content

Commit efd4ea9

Browse files
committed
🐛 Fix buildContent
1 parent dc74a07 commit efd4ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function buildContent(go, path, comment) {
9999
`
100100
content += `package ${path.pkg}\n\n`
101101
if (go.indexOf('time.') !== -1) {
102-
content += `${content}import "time"\n\n`
102+
content += `import "time"\n\n`
103103
}
104104
content += `// ${go.split(" ")[1]} represents the response body from an HTTP request.\n//`
105105
content += comment

0 commit comments

Comments
 (0)