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

Commit

Permalink
fix: use console.error instead of utils.build.failPlugin temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahsnider committed Apr 28, 2021
1 parent 21e3964 commit dbe3632
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module.exports = {
console.log(message);
utils.status.show({summary: `Restored the ${paths.buildDirName} folder`, text: message});
} else {
utils.build.failPlugin(`Couldn't restore the cache for the ${paths.buildDirName} folder at the location ${paths.absolute.buildDir}`);
console.error(`Couldn't restore the cache for the ${paths.buildDirName} folder at the location ${paths.absolute.buildDir}`);
}
},
// Cache file/directory for future builds.
Expand All @@ -102,7 +102,7 @@ module.exports = {
console.log(message);
utils.status.show({summary: `Saved the ${paths.buildDirName} folder`, text: message});
} else {
utils.build.failPlugin(`Couldn't cache the ${paths.buildDirName} folder at the location ${paths.absolute.buildDir}`);
console.error(`Couldn't cache the ${paths.buildDirName} folder at the location ${paths.absolute.buildDir}`);
}
}
};

0 comments on commit dbe3632

Please sign in to comment.