diff --git a/plugin/rojo.json b/plugin/rojo.json index e184e52f..17f5548f 100644 --- a/plugin/rojo.json +++ b/plugin/rojo.json @@ -4,7 +4,7 @@ "partitions": { "plugin": { "path": "src", - "target": "ReplicatedStorage.Rojo.plugin" + "target": "ReplicatedStorage.Rojo.modules.Plugin" }, "modules/roact": { "path": "modules/roact/lib", diff --git a/plugin/spec.lua b/plugin/spec.lua index 57750e93..102093f1 100644 --- a/plugin/spec.lua +++ b/plugin/spec.lua @@ -4,7 +4,8 @@ -- If you add any dependencies, add them to this table so they'll be loaded! local LOAD_MODULES = { - {"src", "Plugin"}, + {"src", "plugin"}, + {"modules/promise/lib", "Promise"}, {"modules/testez/lib", "TestEZ"}, } @@ -31,7 +32,7 @@ end -- Load TestEZ and run our tests local TestEZ = habitat:require(Root.TestEZ) -local results = TestEZ.TestBootstrap:run(Root.Plugin, TestEZ.Reporters.TextReporter) +local results = TestEZ.TestBootstrap:run(Root.plugin, TestEZ.Reporters.TextReporter) -- Did something go wrong? if results.failureCount > 0 then diff --git a/plugin/src/ApiContext.lua b/plugin/src/ApiContext.lua index 5bfcc6b8..d8d301e1 100644 --- a/plugin/src/ApiContext.lua +++ b/plugin/src/ApiContext.lua @@ -1,4 +1,4 @@ -local Promise = require(script.Parent.Parent.modules.Promise) +local Promise = require(script.Parent.Parent.Promise) local Config = require(script.Parent.Config) local Version = require(script.Parent.Version) diff --git a/plugin/src/Http.lua b/plugin/src/Http.lua index 19383b7e..d6dd9cdb 100644 --- a/plugin/src/Http.lua +++ b/plugin/src/Http.lua @@ -2,7 +2,7 @@ local HttpService = game:GetService("HttpService") local HTTP_DEBUG = false -local Promise = require(script.Parent.Parent.modules.Promise) +local Promise = require(script.Parent.Parent.Promise) local HttpError = require(script.Parent.HttpError) local HttpResponse = require(script.Parent.HttpResponse)