From 6df7dd59c3bff9747770d419521e8a77f5003908 Mon Sep 17 00:00:00 2001 From: Andrew Lisowski Date: Fri, 3 Feb 2023 18:26:29 -0800 Subject: [PATCH] fix patch --- .github/actions/install-deps/action.yml | 2 +- patches/@auto-it+core+10.37.6.patch | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/actions/install-deps/action.yml b/.github/actions/install-deps/action.yml index 8c9bccc49..d1610f8e7 100644 --- a/.github/actions/install-deps/action.yml +++ b/.github/actions/install-deps/action.yml @@ -16,7 +16,7 @@ runs: path: | node_modules packages/*/node_modules - key: node-modules-${{ runner.os }}-${{ steps.node-version.outputs.version }}-${{ hashFiles('yarn.lock') }} + key: node-modules-${{ runner.os }}-${{ steps.node-version.outputs.version }}-${{ hashFiles('yarn.lock', 'patches/*.patch') }} restore-keys: | node-modules-${{ runner.os }}-${{ steps.node-version.outputs.version }}- diff --git a/patches/@auto-it+core+10.37.6.patch b/patches/@auto-it+core+10.37.6.patch index aa062c972..fa4acdffb 100644 --- a/patches/@auto-it+core+10.37.6.patch +++ b/patches/@auto-it+core+10.37.6.patch @@ -1,5 +1,5 @@ diff --git a/node_modules/@auto-it/core/dist/auto.js b/node_modules/@auto-it/core/dist/auto.js -index b388374..f5c1019 100644 +index b388374..75ef459 100644 --- a/node_modules/@auto-it/core/dist/auto.js +++ b/node_modules/@auto-it/core/dist/auto.js @@ -316,7 +316,7 @@ class Auto { @@ -20,3 +20,12 @@ index b388374..f5c1019 100644 if (await this.git.verifyAuth(urlWithAuth)) { this.logger.veryVerbose.note("Using token + html URL as remote"); return urlWithAuth; +@@ -333,7 +335,7 @@ class Auto { + this.logger.veryVerbose.note("Using bare html URL as remote"); + return html_url; + } +- this.logger.veryVerbose.note("Using remote set in environment"); ++ this.logger.veryVerbose.note("Using remote set in environment!!!!!"); + return configuredRemote; + } + /** Interactive prompt for initializing an .autorc */