Throw error if req'd files don't ex…

feat(tauri.js/tauri-config): throw error if req'd files don't ex… (#137)
Throw error if req'd files don't ex…b076dd-feat-throw-error-if-req-d-filesfeatthrow error req files don tauri

Committed by nklayman

commit message
feat(tauri.js/tauri-config): throw error if req'd files don't ex… (#137)

* feat(tauri.js/tauri-config): throw error if req'd files don't exist
Checks that package.json and tauri.conf.js exist before requiring
If they don't, throw an error and exit w/ code 1
 
* fix(tauri.js/tauri-config): use logger

Editor assessment

The subject's substance is right, an error is thrown when required files are missing, with a meaningful tauri.js/tauri-config scope, but the header is visibly truncated mid-word (ex…), a title-length artifact that reads poorly and omits which files. The body redeems it: package.json and tauri.conf.js are checked before requiring, and a missing file exits with code 1, with a follow-up bullet about logger use. The feat type is right, no footers appear, and hygiene is damaged by the ellipsis. Understandable overall, but the truncated header undercuts it.

Browse categories

More feat examples · Back to search