Skip to content

Commit cad91ee

Browse files
authored
Update Install.php
1 parent 2b21192 commit cad91ee

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/Install.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ class Install
1919
public static function install()
2020
{
2121
static::installByRelation();
22-
mkdir(app_path() . '/queue/stomp', 0777, true);
22+
if (!is_dir(app_path() . '/queue/stomp')){
23+
mkdir(app_path() . '/queue/stomp', 0777, true);
24+
}
2325
}
2426

2527
/**
@@ -67,4 +69,4 @@ public static function uninstallByRelation()
6769
}
6870
}
6971

70-
}
72+
}

0 commit comments

Comments
 (0)