Skip to content

Commit eada52e

Browse files
authored
Merge pull request #417 from CleverCloud/fix-restart-with-cache
restart: fix `--without-cache` options
2 parents f9c0eb8 + a743dae commit eada52e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/application.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function unlinkRepo (alias) {
146146

147147
function redeploy (ownerId, appId, commit, withoutCache) {
148148
Logger.debug(`Redeploying the app: ${appId}`);
149-
const useCache = (withoutCache != null) ? 'no' : null;
149+
const useCache = (withoutCache) ? 'no' : null;
150150
return application.redeploy({ id: ownerId, appId, commit, useCache }).then(sendToApi);
151151
};
152152

0 commit comments

Comments
 (0)