Skip to content

Commit

Permalink
Merge branch 'main' into feature/custom_import_with_svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
Julen-BZ committed Nov 7, 2024
2 parents cfb8a2d + 8a938f2 commit da4c29a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/copyDirectoryToFoundrySystem.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let destPath;
try {
console.log(chalk.yellow('Trying to use fvtt to get dataPath...'));
dataPath = execSync('fvtt configure get dataPath', { encoding: 'utf8' }).trim();
if (!dataPath) {
if (!dataPath || dataPath === 'undefined') {
msg = 'Error: fvtt not configured!';
console.log(chalk.yellow(msg));
throw new Error(msg);
Expand Down

0 comments on commit da4c29a

Please sign in to comment.