mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Rename writeVerboseInformation to writeVerbose
This commit is contained in:
parent
c5e25f4813
commit
ddc8218a2d
4 changed files with 10 additions and 12 deletions
|
|
@ -57,7 +57,7 @@ function writeExitWithoutInstallingMaliciousPackages() {
|
|||
writeOrBuffer(() => console.error(message));
|
||||
}
|
||||
|
||||
function writeVerboseInformation(message, ...optionalParams) {
|
||||
function writeVerbose(message, ...optionalParams) {
|
||||
if (!isVerboseMode()) return;
|
||||
|
||||
writeOrBuffer(() => console.log(message, ...optionalParams));
|
||||
|
|
@ -127,8 +127,8 @@ function writeBufferedLogsAndStopBuffering() {
|
|||
}
|
||||
|
||||
export const ui = {
|
||||
writeVerbose,
|
||||
writeInformation,
|
||||
writeVerboseInformation,
|
||||
writeWarning,
|
||||
writeError,
|
||||
writeExitWithoutInstallingMaliciousPackages,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue