@biffo/cli 0.331.0 → 0.333.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -3
- package/package.json +1 -1
- package/scripts/verify.sh +4 -0
package/dist/index.js
CHANGED
|
@@ -7302,7 +7302,7 @@ async function composeStack(options, deps) {
|
|
|
7302
7302
|
throwIfInterrupted();
|
|
7303
7303
|
const script = deps.findScript(PG_TEST_DB_SCRIPT);
|
|
7304
7304
|
if (!script) throw new Error(packagedScriptMissing(PG_TEST_DB_SCRIPT));
|
|
7305
|
-
const raised = raisePostgres(deps.runner, script, options.pluginRoot);
|
|
7305
|
+
const raised = raisePostgres(deps.runner, script, options.pluginRoot, options.schemaEnv);
|
|
7306
7306
|
if (!raised.dsn) {
|
|
7307
7307
|
throw new Error(`could not provision Postgres (${PG_TEST_DB_SCRIPT} exited ${raised.status})`);
|
|
7308
7308
|
}
|
|
@@ -12762,9 +12762,9 @@ async function runPluginVerify(options, deps) {
|
|
|
12762
12762
|
);
|
|
12763
12763
|
return 0;
|
|
12764
12764
|
}
|
|
12765
|
-
return runRealCore(options, deps.realCore);
|
|
12765
|
+
return runRealCore(options, deps.realCore, schemaEnv);
|
|
12766
12766
|
}
|
|
12767
|
-
async function runRealCore(options, real) {
|
|
12767
|
+
async function runRealCore(options, real, schemaEnv) {
|
|
12768
12768
|
let coreRoot;
|
|
12769
12769
|
try {
|
|
12770
12770
|
coreRoot = real.coreRoot();
|
|
@@ -12780,6 +12780,7 @@ async function runRealCore(options, real) {
|
|
|
12780
12780
|
configFile: pickConfigFile(options.cwd, options.configFile),
|
|
12781
12781
|
reload: false,
|
|
12782
12782
|
label: REAL_CORE_LABEL,
|
|
12783
|
+
...schemaEnv ? { schemaEnv } : {},
|
|
12783
12784
|
...options.signal ? { signal: options.signal } : {}
|
|
12784
12785
|
},
|
|
12785
12786
|
real.compose,
|
package/package.json
CHANGED
package/scripts/verify.sh
CHANGED
|
@@ -1527,6 +1527,10 @@ fi
|
|
|
1527
1527
|
[ -f scripts/rerun-on-runner-loss.test.sh ] &&
|
|
1528
1528
|
run_check rerun-on-runner-loss sh scripts/rerun-on-runner-loss.test.sh
|
|
1529
1529
|
|
|
1530
|
+
# #2166: red/green + issue routing for shared-sync-report.yml (0.7s).
|
|
1531
|
+
[ -f scripts/shared-sync-report.test.sh ] &&
|
|
1532
|
+
run_check shared-sync-report bash scripts/shared-sync-report.test.sh
|
|
1533
|
+
|
|
1530
1534
|
# Same shape again (#2081): stubs `gh` on PATH, and lets the real `jq`
|
|
1531
1535
|
# binary run the script's own filter against a raw fixture rather than a
|
|
1532
1536
|
# hand-curated final answer. A `schedule` workflow only ever runs the
|