Merge pull request #31 from yxxhero/fix_outout_dir
fix output-dir issue
This commit is contained in:
		
						commit
						b5480123a2
					
				
							
								
								
									
										2
									
								
								main.go
								
								
								
								
							
							
						
						
									
										2
									
								
								main.go
								
								
								
								
							|  | @ -798,7 +798,7 @@ func (c configImpl) Args() string { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func (c configImpl) OutputDir() string { | func (c configImpl) OutputDir() string { | ||||||
| 	return c.c.String("output-dir") | 	return strings.TrimRight(c.c.String("output-dir"), fmt.Sprintf("%c", os.PathSeparator)) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func (c configImpl) OutputDirTemplate() string { | func (c configImpl) OutputDirTemplate() string { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue