mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-01 06:24:41 +01:00
test(shared-libs-plan-callers): type the brief-line parameter
This commit is contained in:
1 parent
2a6b766c5b
commit
5c47c269d1
1 file changed
+1
-1
@@ -90,7 +90,7 @@ export function createSharedPlanReuseSelector(): SharedQuestionSelector {
|
||||
// plan fixes behavior to the existing helper"); the recommended choice and
|
||||
// every other brief and option line carry what the option commits to.
|
||||
const briefCommitments = context.split('\n')
|
||||
.map(line => /^\s*Recommendation\s*:/i.test(line) ? line.replace(/\s+because\b.*$/i, '') : line).join('\n');
|
||||
.map((line: string) => /^\s*Recommendation\s*:/i.test(line) ? line.replace(/\s+because\b.*$/i, '') : line).join('\n');
|
||||
const proposed = affirmativeCommitments(briefCommitments + '\n' + commitment);
|
||||
const expansions = [
|
||||
// Forbidden actions are verb + object, never a bare noun: "helper hardening
|
||||
|
||||
Reference in new issue
Block a user