appwrite-utils-cli 1.2.23 → 1.2.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -540,7 +540,7 @@ export class InteractiveCLI {
540
540
  await deployLocalFunction(this.controller.appwriteServer, functionConfig.name, {
541
541
  ...functionConfig,
542
542
  dirPath: functionPath,
543
- });
543
+ }, functionPath);
544
544
  MessageFormatter.success("Function deployed successfully!", { prefix: "Functions" });
545
545
  }
546
546
  catch (error) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "appwrite-utils-cli",
3
3
  "description": "Appwrite Utility Functions to help with database management, data conversion, data import, migrations, and much more. Meant to be used as a CLI tool, I do not recommend installing this in frontend environments.",
4
- "version": "1.2.23",
4
+ "version": "1.2.24",
5
5
  "main": "src/main.ts",
6
6
  "type": "module",
7
7
  "repository": {
@@ -728,7 +728,8 @@ export class InteractiveCLI {
728
728
  {
729
729
  ...functionConfig,
730
730
  dirPath: functionPath,
731
- }
731
+ },
732
+ functionPath
732
733
  );
733
734
  MessageFormatter.success("Function deployed successfully!", { prefix: "Functions" });
734
735
  } catch (error) {