1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-27 08:21:03 +02:00

Disable cache

This commit is contained in:
Laurent Cozic 2017-11-23 19:29:03 +00:00
parent 05997908e5
commit f52ff730b1
2 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,7 @@ async function gitHubLatestRelease() {
if (error) {
reject(error);
} else if (response.statusCode !== 200) {
console.warn(data);
reject(new Error('Error HTTP ' + response.statusCode));
} else {
resolve(data);
@ -67,7 +68,7 @@ async function main(argv) {
if (!waitForVersion) break;
if (release.tag_name !== waitForVersion) {
await msleep(15000);
await msleep(60000 * 5);
} else {
console.info('Got version ' + waitForVersion);
break;

View File

@ -3,7 +3,7 @@ image: Visual Studio 2017
platform:
- x64
cache:
# cache:
# Not caching node_modules because appveyor doesn't restore it afterwards (not sure why)
# - node_modules
# - '%USERPROFILE%\.electron'