Skip to content

Commit f1d2bea

Browse files
committed
Don't restore source dependencies when not asked.
1 parent d261216 commit f1d2bea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PostSharp.Engineering.BuildTools/Build/PrepareCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static bool Execute(
4949
}
5050

5151
// Restore source dependencies.
52-
if ( !SourceDependenciesHelper.RestoreSourceDependencies( context ) )
52+
if ( product.BuildRequiresSourceDependencies && !SourceDependenciesHelper.RestoreSourceDependencies( context ) )
5353
{
5454
return false;
5555
}

0 commit comments

Comments
 (0)