修正 #59 #99 转换后移除原始文件处理 #100

Merged
lsr merged 6 commits from fix-59-99-remove-source into main 2024-10-08 21:06:45 +00:00
Showing only changes of commit 2afc232eb1 - Show all commits

View File

@ -247,7 +247,7 @@ func (p *processor) processDir(inputDir string) error {
func (p *processor) processFile(filePath string) error { func (p *processor) processFile(filePath string) error {
allDec := common.GetDecoder(filePath, p.skipNoopDecoder) allDec := common.GetDecoder(filePath, p.skipNoopDecoder)
if len(allDec) == 0 { if len(allDec) == 0 {
logger.Fatal("skipping while no suitable decoder") return errors.New("skipping while no suitable decoder")
} }
if err := p.process(filePath, allDec); err != nil { if err := p.process(filePath, allDec); err != nil {