Skip to content

Commit

Permalink
add default verbose=false
Browse files Browse the repository at this point in the history
  • Loading branch information
jodeleeuw committed Aug 2, 2024
1 parent f894d69 commit c8a94ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const processFile = async (metadata, directoryPath, file, verbose, targetDirecto
}

// Processing directory recursively up to one level
export const processDirectory = async (metadata, directoryPath, verbose, targetDirectoryPath?) => {
export const processDirectory = async (metadata, directoryPath, verbose=false, targetDirectoryPath?) => {
let total = 0;
let failed = 0;

Expand Down Expand Up @@ -105,7 +105,7 @@ export const processDirectory = async (metadata, directoryPath, verbose, targetD
};

// Processing metadata options json
export const processOptions = async (metadata, filePath, verbose) => {
export const processOptions = async (metadata, filePath, verbose=false) => {
try {
const metadata_options_path = generatePath(filePath);
const data = fs.readFileSync(metadata_options_path, "utf8"); // synchronous read
Expand Down

0 comments on commit c8a94ef

Please sign in to comment.