diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2021-02-12 14:28:42 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2021-02-12 16:02:52 +0100 |
| commit | f2e01f6744e3ae3ef373e5f5995c702972cc2ff3 (patch) | |
| tree | dddb6ee5c8a46f6115dd6cc96a6564290f5dea11 /gui/scripts | |
| parent | fdcec1cbe60ea291d8f38ae7666ef1210c731814 (diff) | |
| download | mullvadvpn-f2e01f6744e3ae3ef373e5f5995c702972cc2ff3.tar.xz mullvadvpn-f2e01f6744e3ae3ef373e5f5995c702972cc2ff3.zip | |
Change npx to npm exec to make it work with npm 7
Diffstat (limited to 'gui/scripts')
| -rw-r--r-- | gui/scripts/README.md | 2 | ||||
| -rw-r--r-- | gui/scripts/prepare-rtree.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/scripts/README.md b/gui/scripts/README.md index 2c332bfc98..c8577e088a 100644 --- a/gui/scripts/README.md +++ b/gui/scripts/README.md @@ -56,7 +56,7 @@ python3 extract-geo-data.py and finally generate the R-Tree cache: ``` -npx ts-node prepare-rtree.ts +npm exec ts-node prepare-rtree.ts ``` At this point all of the data should be saved in `gui/scripts/out` folder. diff --git a/gui/scripts/prepare-rtree.ts b/gui/scripts/prepare-rtree.ts index d39c275a84..f18f772aa0 100644 --- a/gui/scripts/prepare-rtree.ts +++ b/gui/scripts/prepare-rtree.ts @@ -1,6 +1,6 @@ // // Script that generates r-trees for geo data. -// run with `npx ts-node geo-data/prepare-rtree.ts` +// run with `npm exec ts-node geo-data/prepare-rtree.ts` // import * as fs from 'fs'; |
