You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
debug('Current schemaVersion from `ember-cli-fastboot` is %s while latest schema version is %s',schemaVersion,currentSchemaVersion);
419
+
debug(
420
+
'Current schemaVersion from `ember-cli-fastboot` is %s while latest schema version is %s',
421
+
schemaVersion,
422
+
currentSchemaVersion
423
+
);
405
424
if(schemaVersion>currentSchemaVersion){
406
-
leterrorMsg=chalk.bold.red('An incompatible version between `ember-cli-fastboot` and `fastboot` was found. Please update the version of fastboot library that is compatible with ember-cli-fastboot.');
425
+
leterrorMsg=chalk.bold.red(
426
+
'An incompatible version between `ember-cli-fastboot` and `fastboot` was found. Please update the version of fastboot library that is compatible with ember-cli-fastboot.'
427
+
);
407
428
thrownewError(errorMsg);
408
429
}
409
430
@@ -423,12 +444,12 @@ class EmberApp {
423
444
}
424
445
}
425
446
426
-
debug("reading array of app file paths from manifest");
447
+
debug('reading array of app file paths from manifest');
Copy file name to clipboardExpand all lines: src/fastboot-headers.js
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,9 @@ class FastBootHeaders {
38
38
entries(){
39
39
letentries=[];
40
40
41
-
for(letkeyinthis.headers){
41
+
for(letkeyinthis.headers){
42
42
letvalues=this.headers[key];
43
-
for(letindex=0;index<values.length;++index){
43
+
for(letindex=0;index<values.length;++index){
44
44
entries.push([key,values[index]]);
45
45
}
46
46
}
@@ -63,9 +63,9 @@ class FastBootHeaders {
63
63
keys(){
64
64
letentries=[];
65
65
66
-
for(letkeyinthis.headers){
66
+
for(letkeyinthis.headers){
67
67
letvalues=this.headers[key];
68
-
for(letindex=0;index<values.length;++index){
68
+
for(letindex=0;index<values.length;++index){
69
69
entries.push(key);
70
70
}
71
71
}
@@ -81,9 +81,9 @@ class FastBootHeaders {
81
81
values(){
82
82
letentries=[];
83
83
84
-
for(letkeyinthis.headers){
84
+
for(letkeyinthis.headers){
85
85
letvalues=this.headers[key];
86
-
for(letindex=0;index<values.length;++index){
86
+
for(letindex=0;index<values.length;++index){
87
87
entries.push(values[index]);
88
88
}
89
89
}
@@ -92,7 +92,9 @@ class FastBootHeaders {
92
92
}
93
93
94
94
unknownProperty(maybeHeader){
95
-
console.warn(`You called \`Ember.get(headers, '${maybeHeader}')\` with a FastBootHeaders instance as first argument. FastBootHeader is not an Ember object and you should use \`headers.get('${maybeHeader}')\` instead.`);
95
+
console.warn(
96
+
`You called \`Ember.get(headers, '${maybeHeader}')\` with a FastBootHeaders instance as first argument. FastBootHeader is not an Ember object and you should use \`headers.get('${maybeHeader}')\` instead.`
0 commit comments