mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 23:24:52 +09:00
Remove .js suffix in require paths
Remove the .js suffix in require paths to make requires consistent across the project.
This commit is contained in:
1 parent
6bde8a2219
commit
ff3fc3b94b
14 files changed
+21
-21
No files matched your search
@@ -36,7 +36,7 @@ modManager.listMods(config, instance);
|
||||
*/
|
||||
async function listMods(config, instance) {
|
||||
return new Promise((resolve, reject) => {
|
||||
const instances = require("./../getInstances.js")(config).sync();
|
||||
const instances = require("./../getInstances")(config).sync();
|
||||
if (instances.includes(instance.name)) {
|
||||
factorioAPI.init(false, instance.path("instanceMods"), instance.path("saves"), config.factorio_version);
|
||||
factorioAPI.authenticate({
|
||||
|
||||
Reference in new issue
Block a user