sst 2.0.0-rc.24 → 2.0.0-rc.25

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.
Files changed (3) hide show
  1. package/package.json +1 -1
  2. package/site-env.js +1 -1
  3. package/sst.mjs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sst",
3
- "version": "2.0.0-rc.24",
3
+ "version": "2.0.0-rc.25",
4
4
  "bin": {
5
5
  "sst": "cli/sst.js"
6
6
  },
package/site-env.js CHANGED
@@ -37,7 +37,7 @@ export async function writeValues(input) {
37
37
  await fs.promises.writeFile(file, JSON.stringify(input));
38
38
  }
39
39
  export function append(input) {
40
- input.path = path.join(useProject().paths.root, input.path);
40
+ input.path = path.resolve(useProject().paths.root, input.path);
41
41
  fs.appendFileSync(keysFile(), JSON.stringify(input) + "\n");
42
42
  }
43
43
  export function reset() {
package/sst.mjs CHANGED
@@ -5212,7 +5212,7 @@ async function writeValues(input) {
5212
5212
  await fs13.promises.writeFile(file, JSON.stringify(input));
5213
5213
  }
5214
5214
  function append(input) {
5215
- input.path = path14.join(useProject().paths.root, input.path);
5215
+ input.path = path14.resolve(useProject().paths.root, input.path);
5216
5216
  fs13.appendFileSync(keysFile(), JSON.stringify(input) + "\n");
5217
5217
  }
5218
5218
  function reset2() {