mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
remove snyk (its making the project huge)
This commit is contained in:
1 parent
67cb68a9c0
commit
2aa962350f
10 files changed
+53
-2624
No files matched your search
+3
-4
@@ -2,16 +2,15 @@
|
||||
|
||||
const hydro = require('../dist/loader');
|
||||
|
||||
hydro.addon('.');
|
||||
|
||||
try {
|
||||
const uiDefault = require.resolve('@hydrooj/ui-default');
|
||||
hydro.addon(uiDefault);
|
||||
require.resolve('@hydrooj/ui-default');
|
||||
} catch (e) {
|
||||
console.error('Please also install @hydrooj/ui-default');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
hydro.addon('@hydrooj/ui-default');
|
||||
|
||||
hydro.load().catch((e) => {
|
||||
console.error(e);
|
||||
process.exit(1);
|
||||
|
||||
Reference in new issue
Block a user