sst 2.0.0-rc.30 → 2.0.0-rc.31

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.
@@ -15,12 +15,12 @@ export const bind = (program) => program.command("bind <command>", "Bind your ap
15
15
  const credentials = await useAWSCredentials();
16
16
  const result = spawnSync(args.command, {
17
17
  env: {
18
+ ...process.env,
18
19
  ...env,
19
20
  AWS_ACCESS_KEY_ID: credentials.accessKeyId,
20
21
  AWS_SECRET_ACCESS_KEY: credentials.secretAccessKey,
21
22
  AWS_SESSION_TOKEN: credentials.sessionToken,
22
23
  AWS_REGION: project.config.region,
23
- PATH: process.env.PATH,
24
24
  },
25
25
  stdio: "inherit",
26
26
  shell: process.env.SHELL || true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sst",
3
- "version": "2.0.0-rc.30",
3
+ "version": "2.0.0-rc.31",
4
4
  "bin": {
5
5
  "sst": "cli/sst.js"
6
6
  },
package/sst.mjs CHANGED
@@ -5716,12 +5716,12 @@ var bind = (program2) => program2.command(
5716
5716
  const credentials = await useAWSCredentials2();
5717
5717
  const result = spawnSync(args.command, {
5718
5718
  env: {
5719
+ ...process.env,
5719
5720
  ...env2,
5720
5721
  AWS_ACCESS_KEY_ID: credentials.accessKeyId,
5721
5722
  AWS_SECRET_ACCESS_KEY: credentials.secretAccessKey,
5722
5723
  AWS_SESSION_TOKEN: credentials.sessionToken,
5723
- AWS_REGION: project.config.region,
5724
- PATH: process.env.PATH
5724
+ AWS_REGION: project.config.region
5725
5725
  },
5726
5726
  stdio: "inherit",
5727
5727
  shell: process.env.SHELL || true