Skip to content

Commit

Permalink
docs(yarn): Add information about the mentioned network issue
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Viernau <frank_viernau@epam.com>
  • Loading branch information
fviernau committed Oct 24, 2024
1 parent 02192a3 commit 0460948
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/package-managers/node/src/main/kotlin/Yarn.kt
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ class Yarn(
* separated by newlines; for instance, if the operation is retried due to network problems. This function filters for
* the object with the data based on the _type_ field. Result is *null* if no matching object is found or the input is
* not valid JSON.
*
* Note: The mentioned network issue can be reproduced by setting the network timeout to be very short via the command
* line option '--network-timeout'.
*/
internal fun parseYarnInfo(output: String): PackageJson? =
runCatching {
Expand Down

0 comments on commit 0460948

Please sign in to comment.