Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit 0b62c54

Browse files
lorenzo-angeLorenzo Angelini
and
Lorenzo Angelini
authored
remove depFile check, dependency file is not mandatory in Kubeless runtimes (#204)
* remove depFile check, dependency file is not mandatory in Kubeless runtimes * update package.json version to 0.9.3 Co-authored-by: Lorenzo Angelini <[email protected]>
1 parent dc1f35d commit 0b62c54

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

lib/helpers.js

-5
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,6 @@ function getRuntimeDepfile(runtime, configMap) {
219219
depFile = r.depName;
220220
}
221221
});
222-
if (!depFile) {
223-
throw new Error(
224-
`The runtime ${runtime} is not supported yet`
225-
);
226-
}
227222
return depFile;
228223
}
229224

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "serverless-kubeless",
3-
"version": "0.9.2",
3+
"version": "0.9.3",
44
"description": "This plugin enables support for Kubeless within the [Serverless Framework](https://github.com/serverless).",
55
"main": "index.js",
66
"directories": {

0 commit comments

Comments
 (0)