mirror of
https://github.com/louislam/dockge.git
synced 2025-02-16 18:41:57 +01:00
Fix #9
This commit is contained in:
parent
6dc998bedf
commit
9295583727
@ -177,6 +177,11 @@ export class Stack {
|
||||
|
||||
for (let filename of filenameList) {
|
||||
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);
|
||||
stack._status = CREATED_FILE;
|
||||
stackList.set(filename, stack);
|
||||
|
Loading…
Reference in New Issue
Block a user