summaryrefslogtreecommitdiff
path: root/src/SMAPI.ModBuildConfig/DeployModTask.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-06-30 14:54:29 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-06-30 14:54:29 -0400
commit74c747e20cf184d8ec4cced0bc0d1bbc3c78b3fd (patch)
tree750c36403f7918915fed678f6583eee534d5a060 /src/SMAPI.ModBuildConfig/DeployModTask.cs
parent4b646e4f927f4c44004b3b233b6be055a645b563 (diff)
downloadSMAPI-74c747e20cf184d8ec4cced0bc0d1bbc3c78b3fd.tar.gz
SMAPI-74c747e20cf184d8ec4cced0bc0d1bbc3c78b3fd.tar.bz2
SMAPI-74c747e20cf184d8ec4cced0bc0d1bbc3c78b3fd.zip
fix NuGet package validating required files when they're not needed (#555)
Diffstat (limited to 'src/SMAPI.ModBuildConfig/DeployModTask.cs')
-rw-r--r--src/SMAPI.ModBuildConfig/DeployModTask.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.ModBuildConfig/DeployModTask.cs b/src/SMAPI.ModBuildConfig/DeployModTask.cs
index 73971279..96d95e06 100644
--- a/src/SMAPI.ModBuildConfig/DeployModTask.cs
+++ b/src/SMAPI.ModBuildConfig/DeployModTask.cs
@@ -64,7 +64,7 @@ namespace StardewModdingAPI.ModBuildConfig
Regex[] ignoreFilePatterns = this.GetCustomIgnorePatterns().ToArray();
// get mod info
- ModFileManager package = new ModFileManager(this.ProjectDir, this.TargetDir, ignoreFilePatterns);
+ ModFileManager package = new ModFileManager(this.ProjectDir, this.TargetDir, ignoreFilePatterns, validateRequiredModFiles: this.EnableModDeploy || this.EnableModZip);
// deploy mod files
if (this.EnableModDeploy)