Skip to content

Commit

Permalink
tweak(deployer): removed recipe version label
Browse files Browse the repository at this point in the history
  • Loading branch information
tabarra committed Jul 11, 2023
1 parent e4c204e commit 2ec44a5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions core/extras/deployer.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export const parseValidateRecipe = (rawRecipe) => {
const outRecipe = {
raw: rawRecipe.trim(),
name: toDefault(recipe.name, 'unnamed').trim(),
version: toDefault(recipe.version, '').trim(),
author: toDefault(recipe.author, 'unknown').trim(),
description: toDefault(recipe.description, '').trim(),
variables: {},
Expand Down Expand Up @@ -260,7 +259,6 @@ export class Deployer {
contextVariables.serverName = this.serverName;
contextVariables.recipeName = this.recipe.name;
contextVariables.recipeAuthor = this.recipe.author;
contextVariables.recipeVersion = this.recipe.version;
contextVariables.recipeDescription = this.recipe.description;

//Run all the tasks
Expand Down
1 change: 0 additions & 1 deletion core/webroutes/deployer/stepper.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export default async function DeployerStepper(ctx) {
renderData.recipe = {
isTrustedSource: globals.deployer.isTrustedSource,
name: globals.deployer.recipe.name,
version: globals.deployer.recipe.version,
author: globals.deployer.recipe.author,
description: globals.deployer.recipe.description,
raw: globals.deployer.recipe.raw,
Expand Down
3 changes: 0 additions & 3 deletions web/standalone/deployer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@
</div>
<p class="mb-1">
<strong style="word-wrap: break-word;"><%= recipe.name %></strong>
<% if (recipe.version !== '') { %>
<em><%= recipe.version %></em>
<% } %>
<% if (recipe.author !== '') { %>
by <%= recipe.author %>
<% } %>
Expand Down

0 comments on commit 2ec44a5

Please sign in to comment.