Skip to content

Commit

Permalink
I think it works now
Browse files Browse the repository at this point in the history
  • Loading branch information
Heath123 committed Dec 20, 2020
1 parent cbb36b8 commit ff36516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ try {
setupDataFolder = require('./setupDataFolder.js')
} catch (err) {
console.log('err', err.message)
if (err.message.includes('The specified module could not be found.')) {
if (err.message.includes('The specified module could not be found.') || err.message.includes('Cannot find module')) {
console.log('fix!!!')
if (!fs.existsSync(resourcesPath + 'flag_java_fixed.txt')) {
fs.openSync(resourcesPath + 'flag_java_fixed.txt', 'w')
Expand Down

0 comments on commit ff36516

Please sign in to comment.