diff options
Diffstat (limited to 'bin/mkdocs-prep.pl')
-rwxr-xr-x | bin/mkdocs-prep.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mkdocs-prep.pl b/bin/mkdocs-prep.pl index e452e0b..7d9b1d3 100755 --- a/bin/mkdocs-prep.pl +++ b/bin/mkdocs-prep.pl @@ -66,7 +66,7 @@ while ( $section =~ /^(\w+)\h*:\h*(\w\S*(?:\h+\S+)*)/mg ) { unless ( exists $config->{_}->{$1} ) { $_ = prompt "Which string should replace token '$token'?"; - next unless $_; + next unless length $_; $config->{_}->{$1} = $_; $config_has_changed++; } |