fix typo
This commit is contained in:
parent
a6db675040
commit
ba822576b1
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -25,7 +25,7 @@ exports.dataFor = (optionsArg) => {
|
|||||||
allData = plugins.smartfile.fs.toObjectSync(lookupPath);
|
allData = plugins.smartfile.fs.toObjectSync(lookupPath);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
plugins.beautylog.warn(`${lookupPath} is misssing!`);
|
plugins.beautylog.warn(`${lookupPath} is missing!`);
|
||||||
allData = {};
|
allData = {};
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
@ -44,4 +44,4 @@ exports.dataFor = (optionsArg) => {
|
|||||||
return allData;
|
return allData;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsTUFBWSxPQUFPLFdBQU0sb0JBQ3pCLENBQUMsQ0FENEM7QUFDN0MsTUFBWSxLQUFLLFdBQU0sa0JBQWtCLENBQUMsQ0FBQTtBQVEvQixlQUFPLEdBQUcsQ0FBQyxVQUFtQjtJQUVyQywwQkFBMEI7SUFDMUIsRUFBRSxDQUFBLENBQ0UsT0FBTyxVQUFVLENBQUMsUUFBUSxJQUFJLFNBQVM7V0FDcEMsT0FBTyxVQUFVLENBQUMsZUFBZSxJQUFJLFNBQzVDLENBQUMsQ0FBQSxDQUFDO1FBQ0UsSUFBSSxpQkFBaUIsR0FBRyxFQUFFLENBQUM7UUFDM0IsaUJBQWlCLENBQUMsVUFBVSxDQUFDLFFBQVEsQ0FBQyxHQUFHLFVBQVUsQ0FBQyxlQUFlLENBQUM7UUFDcEUsVUFBVSxDQUFDLGVBQWUsR0FBRyxpQkFBaUIsQ0FBQztJQUNuRCxDQUFDO0lBQUEsQ0FBQztJQUVGL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DQUFBLENBQUM7WUFDN0IsTUFBTSxDQUFDLE9BQU8sQ0FBQyxVQUFVLENBQUMsUUFBUSxDQUFDLENBQUM7UUFDeEMsQ0FBQztRQUFDLElBQUksQ0FBQyxDQUFDO1lBQ0osT0FBTyxDQUFDLFNBQVMsQ0FBQyxLQUFLLENBQUMsd0JBQXdCLFVBQVUsQ0FBQyxRQUFRLEVBQUUsQ0FBQyxDQUFDO1lBQ3ZFLE1BQU0sQ0FBQyxTQUFTLENBQUM7UUFDckIsQ0FBQztJQUNMLENBQUM7SUFBQyxJQUFJLENBQUMsQ0FBQztRQUNKLE1BQU0sQ0FBQyxPQUFPLENBQUM7SUFDbkIsQ0FBQztBQUNMLENBQUMsQ0FBQSJ9
|
@ -32,7 +32,7 @@ export let dataFor = (optionsArg:IDataFor) => {
|
|||||||
if(plugins.smartfile.fs.fileExistsSync(lookupPath)){
|
if(plugins.smartfile.fs.fileExistsSync(lookupPath)){
|
||||||
allData = plugins.smartfile.fs.toObjectSync(lookupPath);
|
allData = plugins.smartfile.fs.toObjectSync(lookupPath);
|
||||||
} else {
|
} else {
|
||||||
plugins.beautylog.warn(`${lookupPath} is misssing!`);
|
plugins.beautylog.warn(`${lookupPath} is missing!`);
|
||||||
allData = {};
|
allData = {};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user