Skip to content

Commit

Permalink
compiled postmanCli using go compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
fchastanet committed Sep 7, 2024
1 parent 2bd43f7 commit a43bd94
Show file tree
Hide file tree
Showing 17 changed files with 1,890 additions and 1,552 deletions.
1 change: 1 addition & 0 deletions .jscpd.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"conf/postmanCli/GithubAPI/GitHubAPI-01-Basic_no_auth_postman_collection.json",
"conf/postmanCli/GithubAPI/GitHubAPI-02-Advanced_with_auth_postman_collection.json",
"src/_binaries/DbImport/dbImportProfile.options.tpl",
"src/_binaries/Database/dbImport/dbImport-options.sh",
"**/snippets/**"
]
}
1 change: 1 addition & 0 deletions bin/cli
Original file line number Diff line number Diff line change
Expand Up @@ -1498,6 +1498,7 @@ commandOptionParseFinished() {


# option values
# shellcheck disable=SC2034
declare containerArg="default"
declare finalUserArg="${defaultUserArg}"
declare finalCommandArg=("${defaultCommandArg[@]}")
Expand Down
2 changes: 2 additions & 0 deletions bin/dbImport
Original file line number Diff line number Diff line change
Expand Up @@ -1808,6 +1808,7 @@ profileOptionHelpFunction() {
}

initProfileCommandCallback() {
# shellcheck disable=SC2154
if [[ "${optionProfile}" != "default" && -n "${optionTables}" ]]; then
Log::fatal "Command ${SCRIPT_NAME} - you cannot use table and profile options at the same time"
fi
Expand Down Expand Up @@ -2823,6 +2824,7 @@ if [[ "${downloadDump}" = "1" ]]; then
initializeDefaultTargetMysqlOptions dbFromInstance "${fromDbName}"

declare dumpHeader
# shellcheck disable=SC2154
dumpHeader=$(printf "%s\nSET names '%s';\n" "${DUMP_HEADER}" "${optionCharacterSet}")

# calculate remote db dump size
Expand Down
1 change: 1 addition & 0 deletions bin/dbImportStream
Original file line number Diff line number Diff line change
Expand Up @@ -1671,6 +1671,7 @@ profileOptionHelpFunction() {
}

initProfileCommandCallback() {
# shellcheck disable=SC2154
if [[ "${optionProfile}" != "default" && -n "${optionTables}" ]]; then
Log::fatal "Command ${SCRIPT_NAME} - you cannot use table and profile options at the same time"
fi
Expand Down
Loading

0 comments on commit a43bd94

Please sign in to comment.