Skip to content

Commit

Permalink
💾 Feat(ScriptsManager): Execute method now supports dry-run option
Browse files Browse the repository at this point in the history
  • Loading branch information
Dynesshely committed Jun 21, 2024
1 parent e2b7faf commit 8c88db0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cheese/Utils/Managers/ScriptsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ public ScriptsManager Execute(ScriptsOptions options)
return this;
}

if (options.DryRun) return this;

var script = File.ReadAllText(finalFileToExecute!);

ConsoleHelper.Instance.AccentLine("Executing ...");
Expand Down

0 comments on commit 8c88db0

Please sign in to comment.