Skip to content

Commit c656111

Browse files
Ilya KantorIlya Kantor
authored andcommitted
minor fixes
1 parent dbf39e3 commit c656111

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

koa/tutorial/lib/tutorialImporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module.exports = class TutorialImporter {
3333
*/
3434
async sync(directory, update = false) {
3535

36-
log.info(`sync PLNKR_ENABLED=${process.env.PLNKR_ENABLED}`);
36+
log.info(`sync PLNKR_ENABLED=${process.env.PLNKR_ENABLED || ''}`);
3737

3838
if (process.env.PLNKR_ENABLED && !this.plunkerToken) {
3939
this.plunkerToken = await getPlunkerToken();

markit/loadImgSizeAsync.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ module.exports = async function(tokens, options) {
115115
try {
116116
return await imageSize(sourcePath);
117117
} catch (e) {
118+
// console.log("imageSize error", e);
118119
if (e instanceof TypeError) {
119120
throw new SrcError(t('markit.error.image_invalid', {src}));
120121
}

0 commit comments

Comments
 (0)