Skip to content

Commit

Permalink
chore: incorporate review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
FUDCo committed Jul 2, 2020
1 parent 94761da commit b097460
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 49 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ag-solo-xs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,21 @@ jobs:
exit $status
EOF
sudo chmod +x "$nf"
- name: test eventual-send on xs
- name: test same-structure on xs
run: |
export MODDABLE=$HOME/moddable
export PATH=$MODDABLE/build/bin/lin/release:$PATH
export TAPE=$HOME/tape-xs
cd packages/eventual-send
cd packages/same-structure
node -r esm $TAPE/bin/tape-xs-build.js $PWD test/test*.js
noflake mcconfig -m -p x-cli-lin test-xs-manifest.json
$MODDABLE/build/bin/lin/release/eventual-send
- name: test marshal on xs
$MODDABLE/build/bin/lin/release/same-structure
- name: test weak-store on xs
run: |
export MODDABLE=$HOME/moddable
export PATH=$MODDABLE/build/bin/lin/release:$PATH
export TAPE=$HOME/tape-xs
cd packages/marshal
cd packages/weak-store
node -r esm $TAPE/bin/tape-xs-build.js $PWD test/test*.js
noflake mcconfig -m -p x-cli-lin test-xs-manifest.json
$MODDABLE/build/bin/lin/release/marshal
$MODDABLE/build/bin/lin/release/weak-store
7 changes: 1 addition & 6 deletions packages/SwingSet/src/controller.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* global Compartment harden */
// eslint-disable-next-line no-redeclare

import fs from 'fs';
import path from 'path';
Expand Down Expand Up @@ -169,11 +168,7 @@ export async function buildVatController(config, argv = []) {
// import anything outside their bundle.

function vatRequire(what) {
if (what === '@agoric/harden') {
return harden;
} else {
throw Error(`vatRequire unprepared to satisfy require(${what})`);
}
throw Error(`vatRequire unprepared to satisfy require(${what})`);
}

const vatEndowments = harden({
Expand Down
15 changes: 0 additions & 15 deletions packages/SwingSet/test/test-vat-imports.js

This file was deleted.

21 changes: 0 additions & 21 deletions packages/SwingSet/test/vat-imports-1.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/acorn-eventual-send/test/test-rollup.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test('SwingSet bug', async t => {
const bundle = await rollup({
input: require.resolve('../encouragementBotCommsWavyDot/bootstrap.js'),
treeshake: false,
external: ['@agoric/evaluate', '@agoric/nat'],
external: [],
acornInjectPlugins: [eventualSend(acorn)],
});
t.ok(bundle);
Expand Down

0 comments on commit b097460

Please sign in to comment.