Skip to content

Commit

Permalink
Merge pull request #1945 from Agoric/mfig/deploy-plugin-root-object
Browse files Browse the repository at this point in the history
fix: properly return .pluginRoot when deploying plugins
  • Loading branch information
michaelfig authored Oct 29, 2020
2 parents db0962b + 2ed6a96 commit 7867597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/agoric-cli/lib/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export { bootPlugin } from ${JSON.stringify(absPath)};
// Return the bootstrap object for this plugin.
console.info(`Loading plugin ${JSON.stringify(pluginFile)}`);
return E.G(E(pluginManager).load(pluginName, pluginOpts))
.bootstrap;
.pluginRoot;
} catch (e) {
throw Error(
`Cannot install unsafe plugin: ${(e && e.stack) || e}`,
Expand Down

0 comments on commit 7867597

Please sign in to comment.