@slugbugblue/trax-cli 0.12.0 → 0.12.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # @slugbugblue/trax
2
2
 
3
+ ## 0.12.1 - 2025-12-02
4
+
5
+ - Bugfix: file read/write broken after migrating to mkdir with different
6
+ signature
7
+
3
8
  ## 0.12.0 - 2025-11-08
4
9
 
5
10
  - Fix a rare bug that could alter player names of existing games
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slugbugblue/trax-cli",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "Trax command line interface",
5
5
  "keywords": [
6
6
  "trax",
@@ -1,4 +1,4 @@
1
- /* Copyright 2022-2023 Chad Transtrum
1
+ /* Copyright 2022-2025 Chad Transtrum
2
2
  *
3
3
  * Licensed under the Apache License, Version 2.0 (the "License");
4
4
  * you may not use this file except in compliance with the License.
@@ -48,7 +48,8 @@ const expandPath = (name) => {
48
48
  const getPath = async (path) => {
49
49
  if (path in PATHS) return PATHS[path]
50
50
  if (path in paths) {
51
- const realPath = await fs.mkdir(paths[path], { recursive: true })
51
+ const realPath = paths[path]
52
+ await fs.mkdir(realPath, { recursive: true })
52
53
  PATHS[path] = realPath
53
54
  return realPath
54
55
  }
package/src/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '0.12.0'
2
+ export const version = '0.12.1'