Skip to content

Commit 273ca4d

Browse files
author
Michal Gil
committed
Small clean-up
1 parent b1cfdd3 commit 273ca4d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

components/business/src/types.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ class TypeRepository {
143143
// internet.
144144
//
145145
tryUpdate(sourceURL: string, apiVersion: string): Promise<void> {
146-
console.log('callin with', apiVersion)
147146
function unavailableError(err) {
148147
throw new Error(
149148
'Could not update event types from ' + sourceURL +

components/middleware/src/project_version.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ const DEFAULT_VERSION = 'unset';
2020
// determines it using the following:
2121
//
2222
// If the project contains a file called '.api-version' at its root,
23-
// the contents of the file are returned as version string. Take care
24-
// to strip newlines from the file.
23+
// the contents of the file are returned as version string.
24+
// Take care to strip newlines from the file.
2525
//
2626
// The way we find the project root is as follows: Look at the paths in
2727
// 'process.mainModule' - and try to find the first one which does exist. This
@@ -53,7 +53,6 @@ class ProjectVersion {
5353

5454
// If the version file does not exist, give up.
5555
if (! fs.existsSync(versionFilePath)) continue;
56-
console.log('got', fs.readFileSync(versionFilePath).toString());
5756
return fs.readFileSync(versionFilePath).toString();
5857
}
5958

0 commit comments

Comments
 (0)