mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-29 04:06:00 +00:00
dbgate-serve fix
This commit is contained in:
@@ -89,6 +89,12 @@ module.exports = {
|
||||
encoding: 'utf-8',
|
||||
})
|
||||
.then(x => JSON.parse(x));
|
||||
if (!manifest.keywords) {
|
||||
continue;
|
||||
}
|
||||
if (!manifest.keywords.includes('dbgateplugin')) {
|
||||
continue;
|
||||
}
|
||||
const readmeFile = path.join(isPackaged ? packagedPluginsDir() : pluginsdir(), packageName, 'README.md');
|
||||
// @ts-ignore
|
||||
if (await fs.exists(readmeFile)) {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"author": "Jan Prochazka",
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"dbgate": "./bin/dbgate-serve.js"
|
||||
"dbgate-serve": "./bin/dbgate-serve.js"
|
||||
},
|
||||
"keywords": [
|
||||
"sql",
|
||||
|
||||
Reference in New Issue
Block a user