Skip to content

Commit 3685627

Browse files
author
ENDAVA\mzorec
committed
PackageTask takes into account TaskLogLevel.
1 parent 69d2734 commit 3685627

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/FlubuCore/Tasks/Packaging/PackageTask.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@ protected override int DoExecute(ITaskContextInternal context)
239239

240240
DoLogInfo($"Creating zip file {zipFile}");
241241

242+
if (TaskLogLevel < LogLevel.Info)
243+
{
244+
_logFiles = false;
245+
}
246+
242247
ZipProcessor zipProcessor = new ZipProcessor(context, zipper, new FileFullPath(zipFile), df, _optimizeZip, sourceIds, _logFiles);
243248
zipProcessor.Process(copiedPackageDef);
244249
}

0 commit comments

Comments
 (0)