diff --git a/src/main.js b/src/main.js
index <HASH>..<HASH> 100644
--- a/src/main.js
+++ b/src/main.js
@@ -7,9 +7,9 @@ export default function lazyReq(req, modules) {
 			configurable: true,
 			get() {
 				let mod;
-				if(typeof mVal === 'function') {
+				if (typeof mVal === 'function') {
 					mod = mVal(mKey);
-				} else if(typeof mVal === 'string') {
+				} else if (typeof mVal === 'string') {
 					mod = req(mVal);
 				} else {
 					throw new Error(`Invalid module type of ${mKey}`);
@@ -21,7 +21,7 @@ export default function lazyReq(req, modules) {
 				});
 
 				return mod;
-			}
+			},
 		});
 	});
fix code style in src