Skip to content

Commit 19fef39

Browse files
authored
Move more code to utils (#219)
Move params.js and shell-config.js to the utils folder.
1 parent 24b1911 commit 19fef39

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎cli.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* THE POSSIBILITY OF SUCH DAMAGE.
2424
*/
2525

26-
load("./shell-config.js");
26+
load("./utils/shell-config.js");
2727

2828
const CLI_PARAMS = {
2929
__proto__: null,
@@ -120,7 +120,7 @@ if (cliArgs.length) {
120120
if (cliParams.size)
121121
globalThis.JetStreamParamsSource = cliParams;
122122

123-
load("./params.js");
123+
load("./utils/params.js");
124124

125125

126126
async function runJetStream() {

‎index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
}
8484
</script>
8585

86-
<script src="params.js"></script>
86+
<script src="utils/params.js"></script>
8787
<script src="JetStreamDriver.js"></script>
8888

8989
</head>

‎tests/unit-tests.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
2222
// THE POSSIBILITY OF SUCH DAMAGE.
2323

24-
load("shell-config.js");
25-
load("params.js");
24+
load("utils/shell-config.js");
25+
load("utils/params.js");
2626
load("startup-helper/StartupBenchmark.js");
2727
load("JetStreamDriver.js");
2828

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)