Skip to content

Commit fc0288d

Browse files
committed
default to python if no runtime is set. closes #100
1 parent 3f4facf commit fc0288d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ServerlessPythonRequirements {
2626
invalidateCaches: false,
2727
fileName: 'requirements.txt',
2828
usePipenv: true,
29-
pythonBin: this.serverless.service.provider.runtime,
29+
pythonBin: this.serverless.service.provider.runtime || 'python',
3030
dockerizePip: false,
3131
dockerImage: `lambci/lambda:build-${this.serverless.service.provider.runtime}`,
3232
pipCmdExtraArgs: [],

0 commit comments

Comments
 (0)