Skip to content

Commit

Permalink
fix: Remove debug console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
andymac4182 committed Apr 28, 2023
1 parent a8167b0 commit f89e617
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
1 change: 1 addition & 0 deletions packages/lib/src/Settings.ts
Expand Up @@ -225,6 +225,7 @@ export class CommandLineArgumentSettingsLoader extends SettingsLoader {
atlassianUserName: options.userName,
atlassianApiToken: options.apiToken,
folderToPublish: options.enableFolder,
contentRoot: options.contentRoot,
};
}
}
Expand Down
15 changes: 0 additions & 15 deletions packages/lib/src/adaptors/filesystem.ts
Expand Up @@ -113,16 +113,6 @@ export class FileSystemAdaptor implements LoaderAdaptor {
}

async getMarkdownFilesToUpload(): Promise<FilesToUpload> {
const files = await this.loadMarkdownFiles(this.settings.contentRoot);
files.forEach((file) =>
console.log("RAW FILES", file.absoluteFilePath)
);
if (files.length === 0) {
console.warn(
"DIDN'T FIND FILES AT ALL IN",
this.settings.contentRoot
);
}
const filesToPublish = [];
for (const file of files) {
try {
Expand All @@ -143,11 +133,6 @@ export class FileSystemAdaptor implements LoaderAdaptor {
//ignore
}
}

filesToPublish.forEach((file) => console.log(file.absoluteFilePath));
if (filesToPublish.length === 0) {
console.warn("DIDN'T FIND FILES TO PUBLISH");
}
return filesToPublish;
}

Expand Down

0 comments on commit f89e617

Please sign in to comment.