Skip to content

Commit a179dd7

Browse files
author
Mihail Slavchev
committed
use os.EOL
1 parent eb1d28e commit a179dd7

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
@@ -224,7 +224,7 @@ class AndroidProjectService implements IPlatformProjectService {
224224
var libRefExists = _.any(refs, r => path.normalize(r.path) === path.normalize(relLibDir));
225225

226226
if (!libRefExists) {
227-
var projRef = util.format("\nandroid.library.reference.%d=%s", maxIdx + 1, relLibDir);
227+
var projRef = util.format("%sandroid.library.reference.%d=%s", os.EOL, maxIdx + 1, relLibDir);
228228
var projProp = path.join(projDir, "project.properties");
229229
fs.appendFileSync(projProp, projRef, { encoding: "utf-8" });
230230
}

0 commit comments

Comments
 (0)