pulumi/pkg/codegen/nodejs
Abhinav Gupta 9995a9927a
pkg: Drop unnecessary printfs
A couple places in pkg/ use Printf without any arguments.
These cases can use the input strings as-is instead.
Switch to either the Print variant, or io.WriteString.

Issues found by staticcheck:

```
backend/httpstate/backend.go:1627:2: SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
backend/httpstate/backend.go:1644:5: SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
codegen/go/gen.go:2260:2: SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
codegen/nodejs/gen.go:1088:3: SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
codegen/python/gen.go:1861:2: SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
codegen/python/gen.go:436:2: SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
```

Refs #11808
2023-01-13 12:41:56 -08:00
..
gen_program_test all: gofmt -w -s 2023-01-10 19:03:24 -08:00
doc.go Initial implementation of simplified invokes for dotnet and nodejs 2023-01-11 14:17:14 -08:00
doc_test.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
gen.go pkg: Drop unnecessary printfs 2023-01-13 12:41:56 -08:00
gen_fileinfo.go [codegen/node] Implement support for lazy-loaded Node modules (#10538) 2022-09-01 18:42:44 -04:00
gen_intrinsics.go Update error handling (#8406) 2021-11-12 18:37:17 -08:00
gen_lazyloads.go Remove state from lazyLoadGen 2022-09-28 10:47:42 -04:00
gen_lazyloads_test.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
gen_program.go Merge #11819 #11834 #11842 #11845 2023-01-12 20:11:42 +00:00
gen_program_expressions.go Initial implementation of simplified invokes for dotnet and nodejs 2023-01-11 14:17:14 -08:00
gen_program_lower.go [codegen] Rename the PCL package. (#8103) 2021-09-29 20:11:56 -07:00
gen_program_test.go fix(ci): Split programgen tests over more jobs 2022-10-16 23:20:45 -07:00
gen_program_utils.go Implemented filebase64sha256 & fileArchive support for codegen (#7997) 2022-01-21 16:03:25 +02:00
gen_test.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
importer.go [codegen/node] Implement support for lazy-loaded Node modules (#10538) 2022-09-01 18:42:44 -04:00
test.go fix(ci): Split programgen tests over more jobs 2022-10-16 23:20:45 -07:00
utilities.go [codegen/node] Implement support for lazy-loaded Node modules (#10538) 2022-09-01 18:42:44 -04:00
utilities_test.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00