Procházet zdrojové kódy

js template add semicolon

tumao před 4 roky
rodič
revize
4e6ab82822
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      client/src/utils/code/Js.ts

+ 1 - 1
client/src/utils/code/Js.ts

@@ -4,7 +4,7 @@ export const getCreateIndexJSCode = (params: CreateIndexCodeParam) => {
   const { collectionName, fieldName, extraParams } = params;
 
   const jsCode = `import { MilvusClient } from '@zilliz/milvus2-sdk-node';
-const client = new MilvusClient(milvus_address)
+const client = new MilvusClient(milvus_address);
 
 client.indexManager.createIndex({
   collection_name: '${collectionName}',