@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.
- package/dist/bin.js +5859 -5319
- package/dist/handlers/bundle.js +3 -3
- package/dist/handlers/icon.js +100 -116
- package/dist/handlers/on-failure.js +3 -2
- package/dist/handlers/pubsub-publisher.js +68 -84
- package/dist/handlers/pubsub-server.js +3053 -2984
- package/dist/prebuild/sandbox-proxy/HASH +1 -1
- package/dist/prebuild/sandbox-proxy/bundle.zip +0 -0
- package/dist/test-global-setup.js +14 -18
- package/package.json +17 -17
package/dist/handlers/bundle.js
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
505
|
-
|
|
504
|
+
getCurrentRoute2 as getCurrentRoute,
|
|
505
|
+
createBundle
|
|
506
506
|
};
|