From 6c31eb3fc78f87d417c5590abb7825859b6ae048 Mon Sep 17 00:00:00 2001 From: Patrick Arminio Date: Wed, 30 Mar 2022 22:41:41 +0100 Subject: [PATCH] Use `\n` instead of `os.EOL` Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com> --- src/cache-distributions/poetry-cache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cache-distributions/poetry-cache.ts b/src/cache-distributions/poetry-cache.ts index 7c05cdf76..58aa5fd97 100644 --- a/src/cache-distributions/poetry-cache.ts +++ b/src/cache-distributions/poetry-cache.ts @@ -53,7 +53,7 @@ class PoetryCache extends CacheDistributor { ); } - const lines = stdout.trim().split(os.EOL); + const lines = stdout.trim().split('\n'); const config: any = {};