Skip to content

Commit 988ba08

Browse files
authored
Merge branch 'main' into add_laravel_installer
2 parents 7c0a23f + d3bfc05 commit 988ba08

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

specs/nextjs/create_next_app.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Create Next.JS app
3+
command: npx create-next-app {{project_name}} --use-{{package_manager}}
4+
tags:
5+
- react
6+
- nextjs
7+
arguments:
8+
- name: project_name
9+
description: Project name
10+
default_value: my-app
11+
- name: package_manager
12+
description: The package manager to use for the application
13+
default_value: npm
14+
source_url: https://nextjs.org/docs/api-reference/create-next-app
15+
description: Create Next.JS application
16+
author: Lukas Varkalis
17+
author_url: https://github.com/lukasvarkalis
18+
shells: []

workflows/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ fn write_workflows_function(
103103
/// }
104104
/// ```
105105
fn write_workflow(workflow: Workflow, file_name: &str) -> Result<()> {
106-
let module = std::fs::File::create(&format!("src/generated_workflows/{}.rs", file_name))?;
106+
let module = std::fs::File::create(format!("src/generated_workflows/{}.rs", file_name))?;
107107

108108
writeln!(&module, "use warp_workflows_types::*;")?;
109109
writeln!(&module, r#"pub fn workflow() -> Workflow {{"#)?;

0 commit comments

Comments
 (0)