Skip to content

Commit c152792

Browse files
committed
chore: throw
1 parent fe72c24 commit c152792

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/generate_services/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ const generateServiceEndpointsMap = async () => {
160160

161161
fs.writeFile(filePath, JSON.stringify(jsonData, undefined, 2), 'utf8', (err) => {
162162
if (err !== null) {
163-
return;
163+
throw err;
164164
}
165165

166166
const configPath = PATH.resolve('./.prettierrc.js');

0 commit comments

Comments
 (0)