Skip to content

Commit

Permalink
chore: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 authored and tiensonqin committed Sep 14, 2022
1 parent fd92a53 commit 79c73ea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions capacitor.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ const config: CapacitorConfig = {
}
}

if (
process.env.PLATFORM &&
process.env.LOGSEQ_APP_SERVER_URL
) {
if (process.env.LOGSEQ_APP_SERVER_URL) {
Object.assign(config, {
server: {
url: process.env.LOGSEQ_APP_SERVER_URL,
Expand Down
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const common = {
], { ignoreInitial: true }, common.syncJS_CSSinRt)
},

async env (cb) {
async runCapWithLocalDevServerEntry (cb) {
const mode = process.env.PLATFORM || 'ios'

const IP = ip.address()
Expand Down Expand Up @@ -166,7 +166,7 @@ exports.electronMaker = async () => {
})
}

exports.env = common.env
exports.cap = common.runCapWithLocalDevServerEntry
exports.clean = common.clean
exports.watch = gulp.series(common.syncResourceFile, common.syncAssetFiles, common.syncAllStatic,
gulp.parallel(common.keepSyncResourceFile, css.watchCSS))
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
"cljs:report": "clojure -M:cljs run shadow.cljs.build-report app report.html",
"cljs:build-electron": "clojure -A:cljs compile app electron",
"cljs:lint": "clojure -M:clj-kondo --parallel --lint src --cache false",
"ios:dev": "cross-env PLATFORM=ios gulp env",
"android:dev": "cross-env PLATFORM=android gulp env"
"ios:dev": "cross-env PLATFORM=ios gulp cap",
"android:dev": "cross-env PLATFORM=android gulp cap"
},
"dependencies": {
"@capacitor/android": "3.2.2",
Expand Down

0 comments on commit 79c73ea

Please sign in to comment.