Skip to content

Commit 209e22c

Browse files
authored
Update README.md
1 parent e298824 commit 209e22c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Test
3737
```csharp
3838
Assembly assembly = Assembly.GetExecutingAssembly();
3939
CSTOJS cstojs = new(assembly);
40-
cstojs.Generate2Async("FULL PATH TO CSHARP FILE YOU WHAT TO CONVERT");
40+
await cstojs.Generate2Async("FULL PATH TO CSHARP FILE YOU WHAT TO CONVERT");
4141
```
4242
- 5 Run program and file will be generated in output path(default is "Directory.GetCurrentDirectory()") with name "main.js"(default)
4343
- 6 See below for simple example "HelloWorld"

0 commit comments

Comments
 (0)