We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c531d96 commit 0c82770Copy full SHA for 0c82770
lib/utils.js
@@ -27,7 +27,7 @@ exports.getImageMimeType = function getImageMimeType (imagePath) {
27
}
28
29
exports.isRevealTheme = function isRevealTheme (theme) {
30
- if (fs.existsSync(path.join(process.cwd(), 'public', 'build', 'reveal.js', 'css', 'theme', theme + '.css'))) {
+ if (fs.existsSync(path.join(__dirname, '..', 'public', 'build', 'reveal.js', 'css', 'theme', theme + '.css'))) {
31
return theme
32
33
return undefined
0 commit comments