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

Commit a4e4957

Browse files
committed
conforming to coding guidelines 3
1 parent 153f6bf commit a4e4957

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

HybridMobileDeploy.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ + (void) loadBundle:(NSString*)rootComponent
9797
if (![[NSFileManager defaultManager] fileExistsAtPath:bundleFolderPath]) {
9898
[[NSFileManager defaultManager] createDirectoryAtPath:bundleFolderPath withIntermediateDirectories:YES attributes:nil error:&saveError];
9999
}
100+
100101
[updateContents writeToFile:[HybridMobileDeploy getBundlePath]
101102
atomically:YES
102103
encoding:NSUTF8StringEncoding
@@ -141,7 +142,7 @@ + (void) loadBundle:(NSString*)rootComponent
141142
NSString *content = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:&readError];
142143
if (readError) {
143144
callback(@[RCTMakeError(@"Error finding local package ", readError, [[NSDictionary alloc] initWithObjectsAndKeys:path,@"packagePath", nil]), [NSNull null]]);
144-
}else{
145+
} else {
145146
NSError * parseError;
146147
NSData *data = [content dataUsingEncoding:NSUTF8StringEncoding];
147148
NSDictionary* json = [NSJSONSerialization JSONObjectWithData:data

0 commit comments

Comments
 (0)