Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 9da637b

Browse files
committed
chore(logging): remove unneeded console.logs
1 parent 94f10e5 commit 9da637b

File tree

4 files changed

+0
-17
lines changed

4 files changed

+0
-17
lines changed

src/babili.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,6 @@ function runBabiliImpl(pathToBabili: string, pathToBundle: string) {
5757
}
5858
return resolve(chunks.join(''));
5959
});
60-
61-
62-
/*exec(`${pathToBabili} ${pathToBundle}`, (err: Error, stdout: string, stderr: string) => {
63-
console.log('err: ', err.message);
64-
console.log('stdout: ', stdout);
65-
console.log('stderr: ', stderr);
66-
if (err) {
67-
reject(err);
68-
} else {
69-
resolve(stdout);
70-
}
71-
});
72-
*/
7360
});
7461
}
7562

src/build.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ describe('build', () => {
6060

6161
expect(transpile.transpile).not.toHaveBeenCalled();
6262
}).catch(err => {
63-
console.log(`err.message: `, err.message);
6463
expect(true).toEqual(false);
6564
});
6665
});
@@ -87,7 +86,6 @@ describe('build', () => {
8786
expect(minify.minifyJs).not.toHaveBeenCalled();
8887
expect(minify.minifyCss).not.toHaveBeenCalled();
8988
}).catch(err => {
90-
console.log(`err.message: `, err.message);
9189
expect(true).toEqual(false);
9290
});
9391
});

src/closure.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export function closure(context: BuildContext, configFile?: string) {
1919
logger.finish();
2020
})
2121
.catch(err => {
22-
console.log('err: ', err);
2322
throw logger.fail(err);
2423
});
2524
}

src/deep-linking/util.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ export function getSharedIonicModule() {
190190
191191
const srcDir = '/Users/dan/Dev/myApp/src';
192192
const result = util.getDeepLinkData(join(srcDir, 'app/app.module.ts'), fileContent, true);
193-
console.log('result: ', result);
194193
expect(result[0].modulePath).toEqual('../pages/home/home.module.ngfactory');
195194
expect(result[0].namedExport).toEqual('HomePageModuleNgFactory');
196195
expect(result[0].name).toEqual('Home');

0 commit comments

Comments
 (0)