Skip to content

Commit a16c929

Browse files
committed
minor fixes
1 parent 0511648 commit a16c929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

koa/tutorial/lib/tutorialImporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ module.exports = class TutorialImporter {
457457

458458
let sourceView = TutorialViewStorage.instance().get(sourceWebPath);
459459

460-
let movingFromDevToProd = process.env.PLNKR_ENABLED && view?.isDev();
460+
let movingFromDevToProd = process.env.PLNKR_ENABLED && sourceView?.isDev();
461461
if (!sourceView || movingFromDevToProd) {
462462
sourceView = new TutorialView({
463463
webPath: sourceWebPath,

0 commit comments

Comments
 (0)