Skip to content
This repository was archived by the owner on Jan 14, 2022. It is now read-only.

Commit 21b19be

Browse files
authored
Merge pull request #50 from southworkscom/add/generatedFlag
add generated flag inside manifestObj
2 parents 0ca3271 + cacaa2b commit 21b19be

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/manifestTools/manifestLoader.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ function getManifestFromSite (siteUrl, manifestFormat, callback) {
151151
.then(function(manifest) {
152152
var manifestObj = {
153153
content: manifest,
154-
format: constants.BASE_MANIFEST_FORMAT
154+
format: constants.BASE_MANIFEST_FORMAT,
155+
generated:true
155156
};
156157

157158
return manifestObj;
@@ -164,7 +165,8 @@ function getManifestFromSite (siteUrl, manifestFormat, callback) {
164165
'start_url': _url.parse(siteUrl).path,
165166
'short_name': utils.getDefaultShortName(siteUrl)
166167
},
167-
format: constants.BASE_MANIFEST_FORMAT
168+
format: constants.BASE_MANIFEST_FORMAT,
169+
generated:true
168170
};
169171

170172
return manifestObj;

0 commit comments

Comments
 (0)