mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: remove c.pref.is_test exception for calling private methods in _other_ modules (#16872)
This commit is contained in:
@@ -143,7 +143,7 @@ fn (am AssetManager) include(asset_type string, combine bool) string {
|
||||
|
||||
// dont return option until size limit is removed
|
||||
// fn (mut am AssetManager) add(asset_type, file string) ?bool {
|
||||
fn (mut am AssetManager) add(asset_type string, file string) bool {
|
||||
pub fn (mut am AssetManager) add(asset_type string, file string) bool {
|
||||
if !os.exists(file) {
|
||||
// return error('vweb.assets: cannot add asset $file, it does not exist')
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user