Skip to content

Commit

Permalink
[fix] 修复 OutputSaverBase获取outputDir使用saver作为family name的bug,应该使用targe…
Browse files Browse the repository at this point in the history
…t name
  • Loading branch information
pirunxi committed Aug 24, 2023
1 parent 524f2da commit 67281ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Luban.Core/OutputSaver/OutputSaverBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ protected virtual string GetOutputDir(OutputFileManifest manifest)
string optionName = manifest.OutputType == OutputType.Code
? BuiltinOptionNames.OutputCodeDir
: BuiltinOptionNames.OutputDataDir;
return EnvManager.Current.GetOption($"{BuiltinOptionNames.DataExporter}.{Name}", optionName, true);
return EnvManager.Current.GetOption($"{manifest.TargetName}", optionName, true);
}

protected virtual void BeforeSave(OutputFileManifest outputFileManifest, string outputDir)
Expand Down

0 comments on commit 67281ed

Please sign in to comment.