mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fixed TestVortexStackSerialization failing
This commit is contained in:
parent
82e93e04d1
commit
7a0eae0127
@ -409,13 +409,14 @@ namespace Wabbajack.Lib
|
||||
|
||||
public override IEnumerable<ICompilationStep> GetStack()
|
||||
{
|
||||
var userConfig = Path.Combine(VortexFolder, "compilation_stack.yml");
|
||||
var s = Consts.TestMode ? DownloadsFolder : VortexFolder;
|
||||
var userConfig = Path.Combine(s, "compilation_stack.yml");
|
||||
if (File.Exists(userConfig))
|
||||
return Serialization.Deserialize(File.ReadAllText(userConfig), this);
|
||||
|
||||
IEnumerable<ICompilationStep> stack = MakeStack();
|
||||
|
||||
File.WriteAllText(Path.Combine(VortexFolder, "_current_compilation_stack.yml"),
|
||||
File.WriteAllText(Path.Combine(s, "_current_compilation_stack.yml"),
|
||||
Serialization.Serialize(stack));
|
||||
|
||||
return stack;
|
||||
|
Loading…
Reference in New Issue
Block a user