mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-09 04:15:08 +00:00
fix further linting issues
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
This commit is contained in:
parent
55b659c233
commit
ea17e235f3
@ -37,9 +37,9 @@ class ENS {
|
|||||||
code += "\nEmbarkJS.Names.registerProvider('ens', __embarkENS);";
|
code += "\nEmbarkJS.Names.registerProvider('ens', __embarkENS);";
|
||||||
|
|
||||||
this.embark.addCodeToEmbarkJS(code);
|
this.embark.addCodeToEmbarkJS(code);
|
||||||
}
|
}
|
||||||
|
|
||||||
addSetProvider() {
|
addSetProvider() {
|
||||||
let config = JSON.stringify({
|
let config = JSON.stringify({
|
||||||
server: this.storageConfig.host,
|
server: this.storageConfig.host,
|
||||||
port: this.storageConfig.port
|
port: this.storageConfig.port
|
||||||
@ -51,8 +51,8 @@ class ENS {
|
|||||||
return (namesConfig.provider === 'ens' && storageConfig.enabled === true);
|
return (namesConfig.provider === 'ens' && storageConfig.enabled === true);
|
||||||
};
|
};
|
||||||
|
|
||||||
this.embark.addProviderInit('names', code, shouldInit);
|
this.embark.addProviderInit('names', code, shouldInit);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = ENS;
|
module.exports = ENS;
|
Loading…
x
Reference in New Issue
Block a user