Skip to content

Commit e98d457

Browse files
committed
godoc
1 parent a3c2bce commit e98d457

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/submit.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func newSubmitCmdContext(usrCfg *viper.Viper, flags *pflag.FlagSet) *submitCmdCo
127127
}
128128
}
129129

130-
// evaluatedSymlinks returns a slice of submit paths where each path's symlink has been evaluated.
130+
// evaluatedSymlinks returns the submit paths with evaluated symlinks.
131131
func (s *submitCmdContext) evaluatedSymlinks(submitPaths []string) ([]string, error) {
132132
evalSymlinkSubmitPaths := make([]string, 0, len(submitPaths))
133133
for _, path := range submitPaths {
@@ -172,8 +172,8 @@ func (s *submitCmdContext) migrateLegacyMetadata(exercise workspace.Exercise) er
172172
return nil
173173
}
174174

175-
// documents returns a slice of documents to be submitted.
176-
// empty files are skipped and a warning is printed.
175+
// documents builds the documents that get submitted.
176+
// Empty files are skipped, printing a warning.
177177
func (s *submitCmdContext) documents(submitPaths []string, exercise workspace.Exercise) ([]workspace.Document, error) {
178178
docs := make([]workspace.Document, 0, len(submitPaths))
179179
for _, file := range submitPaths {

0 commit comments

Comments
 (0)