Skip to content

Commit

Permalink
fix merged codes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaBs committed Dec 20, 2021
1 parent 71db5ee commit 5c8d5a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
3 changes: 0 additions & 3 deletions CmlLib/Core/Files/LogChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
using CmlLib.Core.Version;
using CmlLib.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CmlLib.Core.Files
Expand Down
8 changes: 1 addition & 7 deletions CmlLib/Core/Files/MLogConfiguration.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CmlLib.Core.Files
namespace CmlLib.Core.Files
{
public class MLogConfiguration
{
Expand Down
4 changes: 2 additions & 2 deletions CmlLib/Core/Installer/MForge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ private bool checkProcessorOutputs(JObject outputs, Dictionary<string, string?>
if (item.Value == null)
continue;

var key = Mapper.Interpolation(outitem.Key, mapData, true);
var value = Mapper.Interpolation(outitem.Value.ToString(), mapData, true);
var key = Mapper.Interpolation(item.Key, mapData, true);
var value = Mapper.Interpolation(item.Value.ToString(), mapData, true);

if (!File.Exists(key) || !IOUtil.CheckSHA1(key, value))
return false;
Expand Down

0 comments on commit 5c8d5a8

Please sign in to comment.