@@ -78,7 +78,7 @@ class Template {
7878 if ( options . verifySignature ) {
7979 this . verifyTemplateSignature ( ) ;
8080 }
81- if ( options && options . offline ) {
81+ if ( options && options . offline ) {
8282 this . getModelManager ( ) . validateModelFiles ( ) ;
8383 }
8484 else {
@@ -153,7 +153,7 @@ class Template {
153153 * @private
154154 */
155155 _normalize ( str ) {
156- if ( str && typeof str === 'string' ) {
156+ if ( str && typeof str === 'string' ) {
157157 return str . replace ( / \r / g, '' ) ;
158158 }
159159 return str ;
@@ -183,7 +183,7 @@ class Template {
183183 } ) ;
184184 }
185185
186- if ( this . getTemplate ( ) ) {
186+ if ( this . getTemplate ( ) ) {
187187 content . grammar = this . _normalize ( this . getTemplate ( ) ) ;
188188 }
189189 content . models = { } ;
@@ -300,7 +300,7 @@ class Template {
300300 * @param {Object } [options] - an optional set of options to configure the instance.
301301 * @return {Promise<Template> } a Promise to the instantiated template
302302 */
303- static async fromDirectory ( path , options = null ) {
303+ static async fromDirectory ( path , options = null ) {
304304 return TemplateLoader . fromDirectory ( Template , path , options ) ;
305305 }
306306
@@ -310,7 +310,7 @@ class Template {
310310 * @param {Object } [options] - an optional set of options to configure the instance.
311311 * @return {Promise<Template> } a Promise to the template
312312 */
313- static async fromArchive ( buffer , options = null ) {
313+ static async fromArchive ( buffer , options = null ) {
314314 return TemplateLoader . fromArchive ( Template , buffer , options ) ;
315315 }
316316
@@ -320,7 +320,7 @@ class Template {
320320 * @param {Object } [options] - an optional set of options to configure the instance.
321321 * @return {Promise } a Promise to the template
322322 */
323- static async fromUrl ( url , options = null ) {
323+ static async fromUrl ( url , options = null ) {
324324 return TemplateLoader . fromUrl ( Template , url , options ) ;
325325 }
326326
@@ -426,7 +426,7 @@ class Template {
426426 * @private
427427 */
428428 setReadme ( readme ) {
429- this . metadata = new Metadata ( this . metadata . getPackageJson ( ) , readme , this . metadata . getSamples ( ) , this . metadata . getRequest ( ) ) ;
429+ this . metadata = new Metadata ( this . metadata . getPackageJson ( ) , readme , this . metadata . getSamples ( ) , this . metadata . getRequest ( ) , this . metadata . getLogo ( ) ) ;
430430 }
431431
432432 /**
0 commit comments