Skip to content

Commit

Permalink
go fmt (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejressel authored Mar 30, 2024
1 parent 6732530 commit 7e429f4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
7 changes: 3 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@ check:
cargo fmt --all -- --check

fmt:
cd pulumi-language-wasm && just fmt
cargo fmt --all

format:
cargo fmt --all

format-clippy:
fmt-clippy:
cd pulumi-language-wasm && just fmt
cargo clippy --all --all-features --fix --allow-dirty --allow-staged
cargo fmt --all

Expand Down
2 changes: 1 addition & 1 deletion pulumi-language-wasm/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
func runCommand(cmd *exec.Cmd) error {
name := cmd.Path
commandStr := strings.Join(cmd.Args, " ")
// fmt.Printf("%+v\n", cmd)
// fmt.Printf("%+v\n", cmd)
if err := cmd.Run(); err != nil {
var exitErr *exec.ExitError
if errors.As(err, &exitErr) {
Expand Down
3 changes: 3 additions & 0 deletions pulumi-language-wasm/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ build:
pulumi plugin rm language wasm -y
go build
pulumi plugin install language wasm 1.0 --file ./pulumi-language-wasm

fmt:
go fmt .

0 comments on commit 7e429f4

Please sign in to comment.