File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ func newSubmitCmdContext(usrCfg *viper.Viper, flags *pflag.FlagSet) *submitCmdCo
127
127
}
128
128
}
129
129
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 .
131
131
func (s * submitCmdContext ) evaluatedSymlinks (submitPaths []string ) ([]string , error ) {
132
132
evalSymlinkSubmitPaths := make ([]string , 0 , len (submitPaths ))
133
133
for _ , path := range submitPaths {
@@ -172,8 +172,8 @@ func (s *submitCmdContext) migrateLegacyMetadata(exercise workspace.Exercise) er
172
172
return nil
173
173
}
174
174
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.
177
177
func (s * submitCmdContext ) documents (submitPaths []string , exercise workspace.Exercise ) ([]workspace.Document , error ) {
178
178
docs := make ([]workspace.Document , 0 , len (submitPaths ))
179
179
for _ , file := range submitPaths {
You can’t perform that action at this time.
0 commit comments