Skip to content

Commit

Permalink
🐛 not required
Browse files Browse the repository at this point in the history
  • Loading branch information
XxLittleCxX committed May 1, 2022
1 parent 1b6a8b5 commit 2d20c71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { resolve } from 'path'
const prefix = resolve(core.getInput('LOCAL_PATH'))
let tasks = glob.sync(`${prefix}/**/*.*`).map(v => v.substr(prefix.length))
for (let task of tasks) {
const remoteName = core.getInput('REMOTE_PREFIX') + task
const remoteName = (core.getInput('REMOTE_PREFIX') || "") + task
await store.put(remoteName, resolve(prefix, task))
console.log(task)
}
Expand Down

0 comments on commit 2d20c71

Please sign in to comment.