You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/convert2xkt.js
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ const path = require("path");
74
74
*/
75
75
functionconvert2xkt({
76
76
WebIFC,
77
-
configs,
77
+
configs={},
78
78
source,
79
79
sourceData,
80
80
sourceFormat,
@@ -121,11 +121,11 @@ function convert2xkt({
121
121
stats.aabb=null;
122
122
123
123
functiongetFileExtension(fileName){
124
-
letext=path.extname(fileName);
125
-
if(ext.charAt(0)==="."){
126
-
ext=ext.substring(1);
127
-
}
128
-
returnext;
124
+
letext=path.extname(fileName);
125
+
if(ext.charAt(0)==="."){
126
+
ext=ext.substring(1);
127
+
}
128
+
returnext;
129
129
}
130
130
131
131
returnnewPromise(function(resolve,reject){
@@ -166,6 +166,7 @@ function convert2xkt({
166
166
log(`[WARNING] Could not find configs sourceConfigs entry for source format "${ext}". This is derived from the source file name extension. Will use internal default configs.`);
0 commit comments