Deploy a single function lists files in directory

Hello

I am trying to deploy a single lambda function that I’ve updated. The command I run is:

sls deploy function -f NocRetriever -s test

But that doesn’t seem to do anything! It only lists the files in the directory.

What am I missing? I am running the command above from the directory where my serverless.yml file sits.

This is embarrassing! sls was something else on my Linux box, it was not serverless!

~ ❯ which sls
/home/j/.nvm/versions/node/v14.17.1/bin/sls
~ ❯

I confirmed by running the command serverless and I got:

~ ❯ serverless
zsh: command not found: serverless
~ ❯

Sorry guys.