Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Fix "gulp build --target=tests" failures.
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=255290571
  • Loading branch information
freshp86 committed Jun 27, 2019
1 parent 233dda8 commit 14a60f5
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions dist/lovefield.es6.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/lovefield.es6.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lovefield.js
Original file line number Diff line number Diff line change
Expand Up @@ -3317,7 +3317,7 @@ goog.string.truncateMiddle = function(str, chars, opt_protectEscapedCharacters,
opt_protectEscapedCharacters && (str = goog.string.htmlEscape(str));
return str;
};
goog.string.specialEscapeChars_ = {"\x00":"\\0", "\b":"\\b", "\f":"\\f", "\n":"\\n", "\r":"\\r", "\t":"\\t", "\x0B":"\\x0B", '"':'\\"', "\\":"\\\\", "<":"<"};
goog.string.specialEscapeChars_ = {"\x00":"\\0", "\b":"\\b", "\f":"\\f", "\n":"\\n", "\r":"\\r", "\t":"\\t", "\x0B":"\\x0B", '"':'\\"', "\\":"\\\\", "<":"\\u003c"};
goog.string.jsEscapeCache_ = {"'":"\\'"};
goog.string.quote = function(s) {
s = String(s);
Expand Down
4 changes: 2 additions & 2 deletions dist/lovefield.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/lovefield.min.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion tools/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,10 @@ function buildMinJsTest_(testFile) {
var dir = pathMod.dirname(testFile);
var apiTester = pathMod.join(dir, 'api_tester.js');
var testReporter = pathMod.join(dir, 'test_reporter.js');
var base = pathMod.resolve(
pathMod.join(config.CLOSURE_LIBRARY_PATH, 'closure/goog/base.js'));
return new Promise(function(resolve, reject) {
gulp.src([apiTester, testReporter, testFile]).pipe(closureCompiler({
gulp.src([apiTester, testReporter, base, testFile]).pipe(closureCompiler({
compilerPath: config.CLOSURE_COMPILER_PATH,
fileName: new temporary.File().path,
compilerFlags: compilerFlags
Expand Down

0 comments on commit 14a60f5

Please sign in to comment.