Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Jul 10, 2023
1 parent 0d92bcb commit 297eb57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bin/build.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node

import Cli from "#lib/cli";
import Cli from "#core/cli";
import Geolite2Asn from "#lib/external-resources/geolite2-asn";

const CLI = {
Expand Down
10 changes: 3 additions & 7 deletions bin/update.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

import Cli from "#lib/cli";
import externalResources from "#lib/external-resources";
import Cli from "#core/cli";
import externalResources from "#core/external-resources";

const CLI = {
"title": "Update resources",
Expand All @@ -18,11 +18,7 @@ const CLI = {

await Cli.parse( CLI );

externalResources.add( "softvisio-node/core/resources/geolite2-country", import.meta.url );
externalResources.add( "softvisio-node/core/resources/http", import.meta.url );
externalResources.add( "softvisio-node/core/resources/public-suffixes", import.meta.url );
externalResources.add( "softvisio-node/core/resources/subnets", import.meta.url );
externalResources.add( "softvisio-node/core/resources/tld", import.meta.url );
externalResources.add( "softvisio-node/geoip-asn/resources/geolite2-asn", import.meta.url );

const res = await externalResources.update( {
"remote": true,
Expand Down

0 comments on commit 297eb57

Please sign in to comment.