Skip to content

Commit 7d3e857

Browse files
committed
fix hermes
1 parent 14f211a commit 7d3e857

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ installing engines to make eshost automatically find the installed engines.
3434
| [Chakra][] | `ch`, `chakra` || ||||
3535
| [engine262][] | `engine262` ||||||
3636
| [GraalJS][] | `graaljs` || || ||
37-
| [Hermes][] | `hermes`, `hermes-repl` || || ||
37+
| [Hermes][] | `hermes` || || ||
3838
| [JavaScriptCore][] | `jsc`, `javascriptcore` ||||||
3939
| [QuickJS][] | `quickjs`, `quickjs-run-test262` | | || | |
4040
| [SpiderMonkey][] | `sm`, `spidermonkey` ||||||

src/engines/hermes.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,10 @@ class HermesInstaller extends Installer {
5050
if (platform.startsWith('win')) {
5151
await this.registerAssets('*.dll');
5252
const hermes = await this.registerAsset('hermes.exe');
53-
const hermesRepl = await this.registerAsset('hermes-repl.exe');
5453
this.binPath = await this.registerScript('hermes', `"${hermes}"`);
55-
await this.registerScript('hermes-repl', `"${hermesRepl}"`);
5654
} else {
5755
this.binPath = await this.registerBinary('hermes');
58-
await this.registerBinary('hermes-repl');
56+
await this.registerBinary('hermes');
5957
}
6058
}
6159

0 commit comments

Comments
 (0)