mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 18:25:24 +00:00
Renamed passExtractor function in _passExtractor function
This commit is contained in:
6
index.js
6
index.js
@@ -83,7 +83,7 @@ class Pass {
|
|||||||
|
|
||||||
// === flow definition ===
|
// === flow definition ===
|
||||||
|
|
||||||
let passExtractor = (passCallback => {
|
let _passExtractor = (passCallback => {
|
||||||
fs.readFile(path.resolve(this.model, "pass.json"), {}, (err, passStructBuffer) => {
|
fs.readFile(path.resolve(this.model, "pass.json"), {}, (err, passStructBuffer) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
// Flow should never enter in there since pass.json existence-check is already done above.
|
// Flow should never enter in there since pass.json existence-check is already done above.
|
||||||
@@ -172,7 +172,7 @@ class Pass {
|
|||||||
|
|
||||||
// === execution ===
|
// === execution ===
|
||||||
|
|
||||||
async.parallel([passExtractor, ...L10N.extractors], (err, listByFolder) => {
|
async.parallel([_passExtractor, ...L10N.extractors], (err, listByFolder) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
return reject(err);
|
return reject(err);
|
||||||
}
|
}
|
||||||
@@ -256,8 +256,6 @@ class Pass {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Generates the PKCS #7 cryptografic signature for the manifest file.
|
Generates the PKCS #7 cryptografic signature for the manifest file.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user