Skip to content

Commit 419c004

Browse files
committed
Merged PR 687277: Add missing explicit return type in npm SDK
This is to make OSGTools validation happy, since they run with [EnforceSomeTypeSanity] rule
1 parent 50e1f32 commit 419c004

File tree

1 file changed

+1
-1
lines changed
  • Public/Sdk/Public/JavaScript

1 file changed

+1
-1
lines changed

Public/Sdk/Public/JavaScript/npm.dsc

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ namespace Npm {
221221
return result.getOutputDirectory(args.targetDirectory);
222222
}
223223

224-
function getNpmCachePath(args: InstallArgumentsCommon) {
224+
function getNpmCachePath(args: InstallArgumentsCommon) : Directory {
225225
// If not specified explicitly, look for the nuget cache folder, otherwise use an arbitrary output folder
226226
const preserveCacheFolder = args.preserveCacheFolder || false;
227227

0 commit comments

Comments
 (0)