mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
context removal
This commit is contained in:
@@ -547,7 +547,6 @@ export type RawTextContent = {
|
||||
export type Recipe = {
|
||||
activities?: Array<string> | null;
|
||||
author?: Author | null;
|
||||
context?: Array<string> | null;
|
||||
description: string;
|
||||
extensions?: Array<ExtensionConfig> | null;
|
||||
instructions?: string | null;
|
||||
|
||||
@@ -60,7 +60,6 @@ interface CleanRecipe {
|
||||
activities?: string[];
|
||||
extensions?: CleanExtension[];
|
||||
goosehints?: string;
|
||||
context?: string[];
|
||||
profile?: string;
|
||||
author?: {
|
||||
contact?: string;
|
||||
@@ -241,10 +240,6 @@ function recipeToYaml(recipe: Recipe, executionMode: ExecutionMode): string {
|
||||
cleanRecipe.goosehints = recipe.goosehints;
|
||||
}
|
||||
|
||||
if (recipe.context && recipe.context.length > 0) {
|
||||
cleanRecipe.context = recipe.context;
|
||||
}
|
||||
|
||||
if (recipe.profile) {
|
||||
cleanRecipe.profile = recipe.profile;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user