Skip to content

Commit 736d79f

Browse files
committed
v.vmod: fix typo spotted by Emma on Discord
1 parent cb8b8f2 commit 736d79f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎vlib/v/vmod/encoder.v‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pub fn encode(manifest Manifest) string {
4545
b.writeln(quote(manifest.repo_url))
4646
}
4747
if manifest.author != '' {
48-
b.write_string('\author: ')
48+
b.write_string('\tauthor: ')
4949
b.writeln(quote(manifest.author))
5050
}
5151
b.write_string('\tdependencies: ')

‎vlib/v/vmod/encoder_test.v‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ const mf_with_extra_fields = "Module {
5050
version: '0.4.10'
5151
license: 'MIT'
5252
repo_url: 'https://github.com/vlang/v'
53+
author: 'Bilbo Baggins'
5354
dependencies: ['hello', 'world']
5455
extra_a: ['a', 'b', 'c']
5556
extra_b: [

0 commit comments

Comments
 (0)