mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: change to use Zsh
* show message from server response * send output and error to server
This commit is contained in:
1 parent
0153eae673
commit
6204bd0b17
10 files changed
+96
-104
No files matched your search
@@ -17,6 +17,11 @@ export default async function loadAndUpdateQuests() {
|
||||
|
||||
const quests = Promise.all(
|
||||
questNames.map(async (id) => {
|
||||
// Check if id is directory
|
||||
const stat = await fs.stat(path.join(questDirectory, id))
|
||||
if (!stat.isDirectory()) {
|
||||
return null
|
||||
}
|
||||
const fullPath = path.join(questDirectory, id, 'README.md')
|
||||
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user