From aa8fa2d43621e5146f5b1d88ab4372cb1b3c891d Mon Sep 17 00:00:00 2001
From: Gabriel-Ladzaretti
 <97394622+Gabriel-Ladzaretti@users.noreply.github.com>
Date: Sun, 26 Jun 2022 12:42:02 +0300
Subject: [PATCH] build(tools/clean-cache): fix upath import (#16245)

* fix(tools/clean-cache): fix upath import

* fix(tools/clean-cache): fix upath import
---
 tools/clean-cache.mjs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/clean-cache.mjs b/tools/clean-cache.mjs
index a3474ad902..962f0109a5 100644
--- a/tools/clean-cache.mjs
+++ b/tools/clean-cache.mjs
@@ -1,11 +1,11 @@
 import { tmpdir } from 'os';
 import { remove } from 'fs-extra';
-import { join } from 'upath';
+import upath from 'upath';
 
 // eslint-disable-next-line @typescript-eslint/no-floating-promises
 (async () => {
   const tmpDir = process.env.RENOVATE_TMPDIR ?? tmpdir();
-  const renovateDir = join(tmpDir, 'renovate');
+  const renovateDir = upath.join(tmpDir, 'renovate');
   // eslint-disable-next-line no-console
   console.log('Removing ' + renovateDir);
   await remove(renovateDir);
-- 
GitLab