Skip to content

Commit c0b421b

Browse files
Code review feedback
1 parent c51d61c commit c0b421b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/assets.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ export class AssetGenerator {
285285
}
286286
}
287287

288-
function findNetCoreAppTargetFramework(project: protocol.MSBuildProject) {
288+
function findNetCoreAppTargetFramework(project: protocol.MSBuildProject): protocol.TargetFramework {
289289
return project.TargetFrameworks.find(tf => tf.ShortName.startsWith('netcoreapp'));
290290
}
291291

@@ -325,6 +325,8 @@ function containsDotNetCoreProjects(workspaceInfo: protocol.WorkspaceInformation
325325
if (workspaceInfo.MsBuild && findExecutableMSBuildProjects(workspaceInfo.MsBuild.Projects).length > 0) {
326326
return true;
327327
}
328+
329+
return false;
328330
}
329331

330332

0 commit comments

Comments
 (0)