Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"files": [
"/bin",
"/dist",
"/src/codegen/templates",
"/oclif.manifest.json"
],
"homepage": "https://github.com/prefab-cloud/prefab-cli",
Expand All @@ -68,7 +67,7 @@
},
"repository": "prefab-cloud/prefab-cli",
"scripts": {
"build": "shx rm -rf dist && tsc -b && shx cp -r src/codegen/templates dist/codegen/",
"build": "shx rm -rf dist && tsc -b",
"lint": "eslint \"**/*.{ts,md,json}\"",
"format": "prettier \"**/*.{ts,md,json}\" --write",
"postpack": "shx rm -f oclif.manifest.json",
Expand Down
2 changes: 0 additions & 2 deletions src/codegen/code-generators/node-typescript-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ export class NodeTypeScriptGenerator extends BaseTypescriptGenerator {
methodName = `_${methodName}`
}

console.log(config.key, methodName)

if (uniqueMethods[methodName]) {
throw new Error(
`Method '${methodName}' is already registered. Prefab key ${config.key} conflicts with '${uniqueMethods[methodName]}'!`,
Expand Down
43 changes: 0 additions & 43 deletions src/codegen/python/generator.ts

This file was deleted.

Loading