veb.assets: ✏️ fix typo in veb.assets error message (#23908)

This commit is contained in:
⚡ Sigui 2025-03-11 15:08:15 +01:00 committed by GitHub
parent a5affa5d99
commit ae89466843
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,7 +93,7 @@ pub fn (mut am AssetManager) add(asset_type AssetType, file_path string, include
return error('cannot minify asset of type "all"')
}
if !os.exists(file_path) {
return error('cnanot add asset: file "${file_path}" does not exist')
return error('cannot add asset: file "${file_path}" does not exist')
}
last_modified_unix := os.file_last_mod_unix(file_path)