Skip to content

Commit e51f210

Browse files
authored
chore: sync template updates (#64)
1 parent 6b3acce commit e51f210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ update *extra_args:
119119
doc: _doc
120120

121121
_doc $RUSTDOCFLAGS=("-D warnings " + rustdoc_extra_flags):
122-
{{cargo}} doc {{ if env('CI', '') != '' { '--no-deps' } else { '--open' } }} {{package_flag}} {{all_features_flag}} {{message_format_flag}}
122+
{{cargo}} doc {{ if env('CI', '') == '' { '--open' } else { '' } }} {{ if toolchain == 'nightly' { '--no-deps' } else { '' } }} {{package_flag}} {{all_features_flag}} {{message_format_flag}}
123123

124124
# Check doc coverage with Nightly rustdoc
125125
doc-coverage: _doc-coverage

0 commit comments

Comments
 (0)