Skip to content

Commit c4d973b

Browse files
committed
Squashed commit of the following:
commit f6df54a Author: Alex Rosengarten <[email protected]> Date: Mon Mar 2 15:44:32 2020 -0800 tools/sigh lint commit bede8d9 Author: Alex Rosengarten <[email protected]> Date: Mon Mar 2 14:52:02 2020 -0800 Fixed build rule, simplified runtime commit 62dcc57 Author: Alex Rosengarten <[email protected]> Date: Mon Mar 2 14:38:14 2020 -0800 Fixed test, added TODO
1 parent 579b270 commit c4d973b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/runtime/manifest.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ export class Manifest {
342342
findRecipesByVerb(verb: string) {
343343
return [...this._findAll(manifest => manifest._recipes.filter(recipe => recipe.verbs.includes(verb)))];
344344
}
345-
_typePredicate <HasTypeProperty extends {type: Type}> (candidate: HasTypeProperty, type: Type, checkSubtype: boolean) {
345+
_typePredicate <HasTypeProperty extends {type: Type}>(candidate: HasTypeProperty, type: Type, checkSubtype: boolean) {
346346
const resolvedType = type.resolvedType();
347347
if (!resolvedType.isResolved()) {
348348
return (type instanceof CollectionType) === (candidate.type instanceof CollectionType) &&

src/tools/recipe2plan.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export class StorageKeyRecipeResolver {
120120
* @param recipe should be long running.
121121
* @param arc Arc is associated with current recipe.
122122
*/
123-
async createStoresForCreateHandles(recipe: Recipe, arc: Arc) {
123+
createStoresForCreateHandles(recipe: Recipe, arc: Arc) {
124124
const resolver = new CapabilitiesResolver({arcId: arc.id});
125125
for (const ch of recipe.handles.filter(h => h.fate === 'create')) {
126126
const storageKey = ramDiskStorageKeyPrefixForTest()(arc.id); // TODO: actually create the storage keys.
@@ -160,4 +160,3 @@ export class StorageKeyRecipeResolver {
160160
}
161161

162162

163-

0 commit comments

Comments
 (0)