Skip to content

Commit

Permalink
fix(solo): explicitly use agoric/src/entrypoint.js for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Jan 5, 2022
1 parent 0b3e89a commit 24f1f05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/solo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@agoric/vats": "^0.5.1",
"@agoric/wallet": "^0.11.7",
"@agoric/xsnap": "^0.11.0",
"agoric": "^0.13.21",
"anylogger": "^0.21.0",
"deterministic-json": "^1.0.5",
"esm": "agoric-labs/esm#Agoric-built",
Expand Down
4 changes: 2 additions & 2 deletions packages/solo/src/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ export default async function start(basedir, argv) {

const agWallet = path.dirname(pjs);
const agWalletHtml = path.resolve(agWallet, htmlBasedir);
symlink(agWalletHtml, 'html/wallet', 'junction').catch(e => {
await symlink(agWalletHtml, 'html/wallet', 'junction').catch(e => {
console.error('Cannot link html/wallet:', e);
});

Expand Down Expand Up @@ -418,7 +418,7 @@ export default async function start(basedir, argv) {
.join(' ');

const agoricCli = new URL(
await importMetaResolve('agoric/bin/agoric', import.meta.url),
await importMetaResolve('agoric/src/entrypoint.js', import.meta.url),
).pathname;

// Use the same verbosity as our caller did for us.
Expand Down

0 comments on commit 24f1f05

Please sign in to comment.