Skip to content
This repository was archived by the owner on Jan 2, 2022. It is now read-only.

Commit dbe3632

Browse files
committed
fix: use console.error instead of utils.build.failPlugin temporarily
1 parent 21e3964 commit dbe3632

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ module.exports = {
7878
console.log(message);
7979
utils.status.show({summary: `Restored the ${paths.buildDirName} folder`, text: message});
8080
} else {
81-
utils.build.failPlugin(`Couldn't restore the cache for the ${paths.buildDirName} folder at the location ${paths.absolute.buildDir}`);
81+
console.error(`Couldn't restore the cache for the ${paths.buildDirName} folder at the location ${paths.absolute.buildDir}`);
8282
}
8383
},
8484
// Cache file/directory for future builds.
@@ -102,7 +102,7 @@ module.exports = {
102102
console.log(message);
103103
utils.status.show({summary: `Saved the ${paths.buildDirName} folder`, text: message});
104104
} else {
105-
utils.build.failPlugin(`Couldn't cache the ${paths.buildDirName} folder at the location ${paths.absolute.buildDir}`);
105+
console.error(`Couldn't cache the ${paths.buildDirName} folder at the location ${paths.absolute.buildDir}`);
106106
}
107107
}
108108
};

0 commit comments

Comments
 (0)