mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-25 01:14:23 +01:00
Co-authored-by: Fabio Grande <fabio.grande@hdhome.it>
This commit is contained in:
parent
8094149fbe
commit
9f76834b2f
@ -417,7 +417,7 @@ const handler = async function (argv) {
|
|||||||
if (!recursive) {
|
if (!recursive) {
|
||||||
console.log(chalk.yellow('Running Folder \n'));
|
console.log(chalk.yellow('Running Folder \n'));
|
||||||
const files = fs.readdirSync(filename);
|
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) {
|
for (const bruFile of bruFiles) {
|
||||||
const bruFilepath = path.join(filename, bruFile);
|
const bruFilepath = path.join(filename, bruFile);
|
||||||
|
Loading…
Reference in New Issue
Block a user