Skip to content

Commit

Permalink
fix: loadPackage names in node.js SDK
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Apr 17, 2024
1 parent b0ff344 commit 7e5971d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blog/2024-04-17-newsletter/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ main();
+ `loadPackage`

```ts
import { listVariables, ListVariablesArgs } from "kcl-lib";
import { loadPackage, LoadPackageArgs } from "kcl-lib";

function main() {
const result = loadPackage(LoadPackageArgs(['__test__/test_data/schema.k'], [], true));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ main();
+ `loadPackage`

```ts
import { listVariables, ListVariablesArgs } from "kcl-lib";
import { loadPackage, LoadPackageArgs } from "kcl-lib";

function main() {
const result = loadPackage(LoadPackageArgs(['__test__/test_data/schema.k'], [], true));
Expand Down

0 comments on commit 7e5971d

Please sign in to comment.