fix: bad hw pattern
This commit is contained in:
		
							parent
							
								
									a186c63d76
								
							
						
					
					
						commit
						1eb096c1db
					
				| 
						 | 
					@ -98,8 +98,14 @@ func commitMsgToConf() (conf Conf, err error) {
 | 
				
			||||||
	if err != nil {
 | 
						if err != nil {
 | 
				
			||||||
		return
 | 
							return
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						msg := commit.Message
 | 
				
			||||||
 | 
						slog.Debug("commit msg to conf", "msg", msg)
 | 
				
			||||||
 | 
						line := strings.Split(msg, "\n")[0]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	file := "conf.toml"
 | 
						words := strings.Fields(line)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						head := words[0]
 | 
				
			||||||
 | 
						var hw string
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	msg := commit.Message
 | 
						msg := commit.Message
 | 
				
			||||||
	slog.Debug("commit msg to conf", "msg", msg)
 | 
						slog.Debug("commit msg to conf", "msg", msg)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user