Skip to content

Commit

Permalink
New command - 'samp powertools'
Browse files Browse the repository at this point in the history
  • Loading branch information
ljacobsson committed Oct 16, 2023
1 parent efcc758 commit b16b74e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "samp-cli",
"version": "1.0.63",
"version": "1.0.64",
"description": "CLI tool for extended productivity with AWS Serverless Application Model (SAM)",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/powertools/powertools.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const modules = {
async function run(cmd) {
const runtime = runtimeFinder.determineRuntime();

if (runtime.functionless) {
if (!runtime || runtime.functionless) {
console.log("Could not find any functions in your SAM template");
return;
}
Expand Down

0 comments on commit b16b74e

Please sign in to comment.