Commit d9855ed8cd7328c4d53c9e06417586993a34357b

Authored by Marko Tikvić
1 parent f74a6c3491
Exists in master

: -> =

Showing 1 changed file with 5 additions and 5 deletions   Show diff stats
... ... @@ -293,12 +293,12 @@ func initMetadata(project string) error {
293 293 // LoadMetadataFromFile expects file in format:
294 294 //
295 295 // [ payload A identifier ]
296   -// key1 : value1
297   -// key2 : value2
  296 +// key1 = value1
  297 +// key2 = value2
298 298 // ...
299 299 // [ payload B identifier ]
300   -// key1 : value1
301   -// key2 : value2
  300 +// key1 = value1
  301 +// key2 = value2
302 302 // ...
303 303 //
304 304 // TODO(marko): Currently supports only one hardcoded language...
... ... @@ -329,7 +329,7 @@ func LoadMetadataFromFile(path string) error {
329 329 return fmt.Errorf("webutility: LoadMetadataFromFile: error on line %d: [no header] [%s]", i+1, l)
330 330 }
331 331  
332   - parts := strings.Split(l, ":")
  332 + parts := strings.Split(l, "=")
333 333 if len(parts) != 2 {
334 334 return fmt.Errorf("webutility: LoadMetadataFromFile: error on line %d: [invalid format] [%s]", i+1, l)
335 335 }
... ...