Skip to content

Commit f35dbfb

Browse files
committed
chore: remove redundant functions
1 parent d4d98b6 commit f35dbfb

File tree

6 files changed

+0
-24
lines changed

6 files changed

+0
-24
lines changed

templates/cli/lib/type-generation/languages/dart.js.twig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@ class Dart extends LanguageMeta {
7979
return type;
8080
}
8181

82-
getCurrentDirectory() {
83-
return process.cwd();
84-
}
85-
8682
getTemplate() {
8783
return `<% for (const attribute of collection.attributes) { -%>
8884
<% if (attribute.type === 'relationship') { -%>

templates/cli/lib/type-generation/languages/java.js.twig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ class Java extends LanguageMeta {
3939
return type;
4040
}
4141

42-
getCurrentDirectory() {
43-
return process.cwd();
44-
}
45-
4642
getTemplate() {
4743
return `package io.appwrite.models;
4844

templates/cli/lib/type-generation/languages/javascript.js.twig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ class JavaScript extends LanguageMeta {
6161
return "appwrite";
6262
}
6363

64-
getCurrentDirectory() {
65-
return process.cwd();
66-
}
67-
6864
getTemplate() {
6965
return `
7066
// This file is auto-generated by the Appwrite CLI.

templates/cli/lib/type-generation/languages/kotlin.js.twig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ class Kotlin extends LanguageMeta {
4242
return type;
4343
}
4444

45-
getCurrentDirectory() {
46-
return process.cwd();
47-
}
48-
4945
getTemplate() {
5046
return `package io.appwrite.models
5147

templates/cli/lib/type-generation/languages/php.js.twig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ class PHP extends LanguageMeta {
4242
return type;
4343
}
4444

45-
getCurrentDirectory() {
46-
return process.cwd();
47-
}
48-
4945
getTemplate() {
5046
return `<?php
5147
namespace Appwrite\\Models;

templates/cli/lib/type-generation/languages/swift.js.twig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ class Swift extends LanguageMeta {
4242
return type;
4343
}
4444

45-
getCurrentDirectory() {
46-
return process.cwd();
47-
}
48-
4945
getTemplate() {
5046
return `import Foundation
5147

0 commit comments

Comments
 (0)