@awsless/cli 0.1.25 → 0.1.27

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.
@@ -449,7 +449,7 @@ var createBundle = (handlers) => {
449
449
  }
450
450
  throw new Error("Unknown bundle route: " + match2.key);
451
451
  }
452
- if (process.env.AWSLESS_ENV !== "local") {
452
+ if (process.env.AWS_EXECUTION_ENV) {
453
453
  console.trace(`Bundle route: ${match2.key}`);
454
454
  }
455
455
  process.env.AWSLESS_ROUTE = match2.key;
@@ -501,6 +501,6 @@ var createBundle = (handlers) => {
501
501
  };
502
502
  };
503
503
  export {
504
- createBundle,
505
- getCurrentRoute2 as getCurrentRoute
504
+ getCurrentRoute2 as getCurrentRoute,
505
+ createBundle
506
506
  };