Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Commit

Permalink
Fix package in os module. (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-zinnatullin authored Apr 18, 2017
1 parent 8c603ac commit 53236f0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions android/src/main/kotlin/com/gojuno/commander/android/Adb.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.gojuno.commander.android

import com.gojuno.cmd.common.Notification
import com.gojuno.cmd.common.log
import com.gojuno.cmd.common.nanosToHumanReadableTime
import com.gojuno.cmd.common.process
import com.gojuno.commander.os.Notification
import com.gojuno.commander.os.log
import com.gojuno.commander.os.nanosToHumanReadableTime
import com.gojuno.commander.os.process
import rx.Observable
import rx.Single
import java.io.File
Expand Down Expand Up @@ -51,7 +51,7 @@ fun connectedAdbDevices(): Observable<Set<AdbDevice>> = process(listOf(adb, "dev
}
.doOnError { log("Error during getting connectedAdbDevices, error = $it") }

fun AdbDevice.log(message: String) = com.gojuno.cmd.common.log("[$id] $message")
fun AdbDevice.log(message: String) = com.gojuno.commander.os.log("[$id] $message")

fun AdbDevice.installApk(pathToApk: String): Observable<Unit> {
val adbDevice = this
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.gojuno.cmd.common
package com.gojuno.commander.os

import com.gojuno.cmd.common.Os.Linux
import com.gojuno.cmd.common.Os.Mac
import com.gojuno.commander.os.Os.Linux
import com.gojuno.commander.os.Os.Mac
import rx.Emitter.BackpressureMode
import rx.Observable
import rx.schedulers.Schedulers.io
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.gojuno.cmd.common
package com.gojuno.commander.os

import org.assertj.core.api.Assertions.assertThat
import org.jetbrains.spek.api.Spek
Expand Down

0 comments on commit 53236f0

Please sign in to comment.