Skip to content

Commit

Permalink
(fix): Removed various debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nomnomab committed Dec 25, 2021
1 parent b21f3f5 commit 60c49ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions Editor/PackageLayout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ public void HandleNew(PackageJson package, string folder) {
switch (extension) {
case ".asmdef":
string parent = Path.GetFileName(folder);
Debug.Log(parent);
Debug.Log(folder);
string path = $"{folder}/{package.name}.{parent}.asmdef";
Debug.Log(path);
using (StreamWriter writer = File.CreateText(path)) {
JObject asmdefObj = new JObject {
["name"] = $"{package.name}.{parent}",
Expand All @@ -92,7 +89,6 @@ public void HandleNew(PackageJson package, string folder) {
}
break;
case ".md":
Debug.Log($"Wanting md at {$"{folder}/{Content}"}");
if (Path.GetFileNameWithoutExtension(Content) == "LICENSE" && string.IsNullOrEmpty(package.licensesUrl)) {
// aquire license data
try {
Expand Down Expand Up @@ -122,7 +118,6 @@ public void HandleNew(PackageJson package, string folder) {
} else {
// folder
Directory.CreateDirectory($"{folder}/{Content}");
Debug.Log($"Wanting folder at {folder}/{Content}");
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.nomnom.new-package-helper",
"version": "1.0.2",
"version": "1.0.3",
"displayName": "New Package Helper",
"description": "This allows assists in the creation of new packages.",
"unity": "2020.3",
Expand Down

0 comments on commit 60c49ca

Please # to comment.