mirror of
https://github.com/louislam/dockge.git
synced 2024-11-30 14:24:02 +00:00
Fix #9
This commit is contained in:
parent
6dc998bedf
commit
9295583727
1 changed files with 5 additions and 0 deletions
|
@ -177,6 +177,11 @@ export class Stack {
|
||||||
|
|
||||||
for (let filename of filenameList) {
|
for (let filename of filenameList) {
|
||||||
try {
|
try {
|
||||||
|
// Check if it is a directory
|
||||||
|
let stat = fs.statSync(path.join(stacksDir, filename));
|
||||||
|
if (!stat.isDirectory()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
let stack = this.getStack(server, filename);
|
let stack = this.getStack(server, filename);
|
||||||
stack._status = CREATED_FILE;
|
stack._status = CREATED_FILE;
|
||||||
stackList.set(filename, stack);
|
stackList.set(filename, stack);
|
||||||
|
|
Loading…
Reference in a new issue