Skip to content

Commit 6f19531

Browse files
authored
Merge pull request #1480 from Duet3D/hotfix-filechecks
console log new_plugin_versions_json
2 parents 8ed10f5 + 6307202 commit 6f19531

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nodescriptsTS/src/statUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@ const createPluginVersionEntry = async (plugin_id:string, author:string, gh_rele
113113
}
114114
catch(err){
115115
console.log(err);
116-
return;
116+
return {};
117117
}
118118

119119
let res = checkFile.local('unzipped/plugin.json');
120120
if(!res){
121121
console.log('plugin.json not available');
122-
return;
122+
return {};
123123
}
124124

125125
const plugin_json = await readLocalFile.JSON('unzipped/plugin.json');

0 commit comments

Comments
 (0)