[add] log
This commit is contained in:
parent
f836b1ecaf
commit
9f588f4c39
1
main.js
1
main.js
@ -82,6 +82,7 @@ module.exports = {
|
||||
sourceData = sourceData.replace(new RegExp(short_uuid1, 'g'), short_uuid2);
|
||||
fs.writeFileSync(source_path, sourceData);
|
||||
Editor.assetdb.refresh(path3, function (err, results) { });
|
||||
Editor.log(`ReplaceResource 替換完成`);
|
||||
} catch (error) {
|
||||
Editor.error(`replaceResource error: ${error}`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user