Skip to content

Commit

Permalink
Bruno CLI tries to execute folder.bru usebruno#2584 (usebruno#2585)
Browse files Browse the repository at this point in the history
Co-authored-by: Fabio Grande <[email protected]>
  • Loading branch information
2 people authored and jwetzell committed Aug 2, 2024
1 parent e493086 commit e491c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bruno-cli/src/commands/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ const handler = async function (argv) {
if (!recursive) {
console.log(chalk.yellow('Running Folder \n'));
const files = fs.readdirSync(filename);
const bruFiles = files.filter((file) => file.endsWith('.bru'));
const bruFiles = files.filter((file) => !['folder.bru'].includes(file) && file.endsWith('.bru'));

for (const bruFile of bruFiles) {
const bruFilepath = path.join(filename, bruFile);
Expand Down

0 comments on commit e491c3c

Please sign in to comment.