update
This commit is contained in:
@@ -62,7 +62,7 @@ function use_core(path) {
|
||||
if (use_cache[cache_key])
|
||||
return use_cache[cache_key];
|
||||
|
||||
var sym = use_embed(path.replace('/','_'))
|
||||
var sym = use_embed(path.replaceAll('/','_'))
|
||||
|
||||
// Core scripts are in packages/core/
|
||||
var file_path = core_path + '/' + path + MOD_EXT
|
||||
|
||||
@@ -608,7 +608,7 @@ Shop.open_package_dylib = function(pkg) {
|
||||
|
||||
// If no package context, only check core internal symbols
|
||||
if (!package_context || package_context == 'core') {
|
||||
path = path.replace('/', '_')
|
||||
path = path.replaceAll('/', '_')
|
||||
var core_sym = `js_${path}_use`
|
||||
if (os.internal_exists(core_sym)) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user