Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/otomi-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,9 @@ export default class OtomiStack {
if (await this.repo.fileExists('env/cluster.yaml')) break
debug(`Values are not present at ${url}:${branch}`)
} catch (e) {
debug(`${e.message.trim()} for command ${JSON.stringify(e.task?.commands)}`)
// Remove password from error message
const safeCommand = JSON.stringify(e.task?.commands).replace(env.GIT_PASSWORD, '****')
debug(`${e.message.trim()} for command ${JSON.stringify(safeCommand)}`)
debug(`Git repository is not ready: ${url}:${branch}`)
}
const timeoutMs = 10000
Expand Down