@satisfactory-dev/docs.json.ts 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -205,7 +205,7 @@ export class TypeDefinitionWriter {
|
|
|
205
205
|
let code = await format_code(node_strings
|
|
206
206
|
.join('\n\n'));
|
|
207
207
|
if (this.docs.types_from_module) {
|
|
208
|
-
code = code.replace(/} from '(?:\.\.\/)+(classes|common|utils)\//g, `} from '${this.docs.types_from_module}/$1
|
|
208
|
+
code = code.replace(/} from '(?:\.\.\/)+(classes|common|utils)\//g, `} from '${this.docs.types_from_module}/$1/`);
|
|
209
209
|
}
|
|
210
210
|
await writeFile(file_name, code);
|
|
211
211
|
}
|
package/package.json
CHANGED