Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 7550764

Browse files
committed
chore(tslint): fix tslint issues
1 parent 980f13b commit 7550764

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/util/cordova-config.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@ let lastConfig: CordovaProject;
1616
export let buildCordovaConfig = (errCb: Function, cb: Function) => {
1717
var parser = new xml2js.Parser();
1818
fs.readFile('config.xml', (err: any, data: any) => {
19-
if(err) {
19+
if (err) {
2020
errCb(err);
2121
return;
2222
}
2323
parser.parseString(data, (err: any, result: any) => {
24-
if(err) {
24+
if (err) {
2525
errCb(err);
2626
return;
2727
}
2828
cb(parseConfig(result));
2929
});
3030
});
31-
}
31+
};
3232

3333
export let parseConfig = (parsedConfig: any) : CordovaProject => {
34-
if(!parsedConfig.widget) {
34+
if (!parsedConfig.widget) {
3535
return {};
3636
}
3737

@@ -52,4 +52,4 @@ export let parseConfig = (parsedConfig: any) : CordovaProject => {
5252
lastConfig = config;
5353

5454
return config;
55-
}
55+
};

0 commit comments

Comments
 (0)