Skip to content

Commit

Permalink
copy dir
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Sverdlov <[email protected]>
  • Loading branch information
sverdlov93 committed Aug 31, 2023
1 parent 15c2382 commit d1ba553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/utils/npm.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ func GetNpmVersionAndExecPath(log utils.Log) (*version.Version, string, error) {
if err != nil {
return nil, "", err
}
return version.NewVersion(string(versionData)), npmExecPath, nil
return version.NewVersion(strings.TrimSpace(string(versionData))), npmExecPath, nil
}

type PackageInfo struct {
Expand Down

0 comments on commit d1ba553

Please sign in to comment.