Skip to content

Commit 906aa01

Browse files
author
Mihail Slavchev
committed
use async/wait version for reading file
1 parent bd9c46e commit 906aa01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/android-project-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class AndroidProjectService implements IPlatformProjectService {
198198
private getProjectReferences(projDir: string): ILibRef[]{
199199
var projProp = path.join(projDir, "project.properties");
200200

201-
var lines = fs.readFileSync(projProp, { encoding: "utf-8" }).split(os.EOL);
201+
var lines = this.$fs.readText(projProp, "utf-8").wait().split(os.EOL);
202202

203203
var refs: ILibRef[] = [];
204204

0 commit comments

Comments
 (0)