From 514dae8ec507f55791d3d4c603f4b38fb3975547 Mon Sep 17 00:00:00 2001 From: Maxim Lobanov Date: Tue, 16 Mar 2021 12:53:04 +0300 Subject: [PATCH] add comment --- dist/setup/index.js | 1 + src/auth.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/setup/index.js b/dist/setup/index.js index f102f900..7055fbc7 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -13272,6 +13272,7 @@ function configureAuthentication() { const username = core.getInput(constants.INPUT_SERVER_USERNAME); const password = core.getInput(constants.INPUT_SERVER_PASSWORD); const settingsDirectory = core.getInput(constants.INPUT_SETTINGS_PATH) || path.join(os.homedir(), exports.M2_DIR); + // Consider setting overwriteSettings = false by default in next major release const overwriteSettings = util_1.getBooleanInput(constants.INPUT_OVERWRITE_SETTINGS, true); const gpgPrivateKey = core.getInput(constants.INPUT_GPG_PRIVATE_KEY) || constants.INPUT_DEFAULT_GPG_PRIVATE_KEY; const gpgPassphrase = core.getInput(constants.INPUT_GPG_PASSPHRASE) || diff --git a/src/auth.ts b/src/auth.ts index a52306b0..5bc65966 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -19,6 +19,7 @@ export async function configureAuthentication() { const password = core.getInput(constants.INPUT_SERVER_PASSWORD); const settingsDirectory = core.getInput(constants.INPUT_SETTINGS_PATH) || path.join(os.homedir(), M2_DIR); + // Consider setting overwriteSettings = false by default in next major release const overwriteSettings = getBooleanInput(constants.INPUT_OVERWRITE_SETTINGS, true); const gpgPrivateKey = core.getInput(constants.INPUT_GPG_PRIVATE_KEY) || constants.INPUT_DEFAULT_GPG_PRIVATE_KEY;