Merge branch 'fix_compile_warnings'
This commit is contained in:
@@ -40,7 +40,7 @@ package.load_config = function(name)
|
||||
var config_path = get_path(name) + '/cell.toml'
|
||||
|
||||
if (!fd.is_file(config_path)) {
|
||||
print(`${config_path} does not exist`); disrupt
|
||||
log.error(`${config_path} does not exist`); disrupt
|
||||
}
|
||||
|
||||
var content = text(fd.slurp(config_path))
|
||||
@@ -49,7 +49,7 @@ package.load_config = function(name)
|
||||
|
||||
var result = toml.decode(content)
|
||||
if (!result) {
|
||||
print(`TOML decode returned null for ${config_path}`)
|
||||
log.error(`TOML decode returned null for ${config_path}`)
|
||||
return {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user