diff options
author | Sebastian <sebasjm@gmail.com> | 2022-10-31 12:49:44 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-10-31 12:49:44 -0300 |
commit | 6d08ed0680bc94637212e4bc18e162e930eff77f (patch) | |
tree | c96e8e654b9a26a7f1ea140b2f97d97065a05b32 | |
parent | d3855a1861799e5ca6972ea1b7fa1475835460ba (diff) |
running wallet script outside the project needs .mjs extension
-rw-r--r-- | packages/taler-wallet-cli/Makefile | 4 | ||||
-rwxr-xr-x | packages/taler-wallet-cli/bin/taler-wallet-cli.mjs (renamed from packages/taler-wallet-cli/bin/taler-wallet-cli.js) | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-cli/Makefile b/packages/taler-wallet-cli/Makefile index b910a82bd..56e298aa8 100644 --- a/packages/taler-wallet-cli/Makefile +++ b/packages/taler-wallet-cli/Makefile @@ -25,6 +25,6 @@ install: install -d $(install_target)/node_modules/taler-wallet-cli/dist install ./dist/taler-wallet-cli.js $(install_target)/node_modules/taler-wallet-cli/dist/ install ./dist/taler-wallet-cli.js.map $(install_target)/node_modules/taler-wallet-cli/dist/ - install ./bin/taler-wallet-cli.js $(install_target)/node_modules/taler-wallet-cli/bin/ - ln -sf $(install_target)/node_modules/taler-wallet-cli/bin/taler-wallet-cli $(prefix)/bin/taler-wallet-cli + install ./bin/taler-wallet-cli.mjs $(install_target)/node_modules/taler-wallet-cli/bin/ + ln -sf $(install_target)/node_modules/taler-wallet-cli/bin/taler-wallet-cli.mjs $(prefix)/bin/taler-wallet-cli.mjs endif diff --git a/packages/taler-wallet-cli/bin/taler-wallet-cli.js b/packages/taler-wallet-cli/bin/taler-wallet-cli.mjs index bcec228e6..bcec228e6 100755 --- a/packages/taler-wallet-cli/bin/taler-wallet-cli.js +++ b/packages/taler-wallet-cli/bin/taler-wallet-cli.mjs |