Fix: Only adding folders to stack with a compose file. (#299)

Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
This commit is contained in:
Zack Hankin
2023-12-15 21:15:47 +11:00
committed by GitHub
parent db0add7e4c
commit 94ca8a152a
2 changed files with 33 additions and 2 deletions

View File

@@ -116,6 +116,13 @@ export const allowedRawKeys = [
"\u0003", // Ctrl + C
];
export const acceptedComposeFileNames = [
"compose.yaml",
"docker-compose.yaml",
"docker-compose.yml",
"compose.yml",
];
/**
* Generate a decimal integer number from a string
* @param str Input