Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-24061] Android: Unify require debug-log with iOS #8531

Merged
merged 1 commit into from
Oct 24, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/runtime/common/src/js/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ Module.prototype.require = function (request, context) {

// TODO Can we determine if the first path segment is a commonjs module id? If so, don't spit out this log!
// Fallback to old Titanium behavior of assuming it's actually an absolute path
kroll.log(TAG, "require called with un-prefixed module id, should be a core or CommonJS module. Falling back to old Ti behavior and assuming it's an absolute file");
kroll.log(TAG, "require called with un-prefixed module id: " + request + ", should be a core or CommonJS module. Falling back to old Ti behavior and assuming it's an absolute path: /" + request);

loaded = this.loadAsFileOrDirectory('/' + request, context);
if (loaded) {
Expand Down