Skip to content

Commit

Permalink
fix docs pull
Browse files Browse the repository at this point in the history
  • Loading branch information
pofider committed Dec 16, 2021
1 parent f6562ed commit 23eeaca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/lib/docs/pull.js

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

2 changes: 1 addition & 1 deletion dist/lib/docs/pull.js.map

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

2 changes: 1 addition & 1 deletion src/lib/docs/pull.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import * as logger from '../utils/logger'
const tmpRepoDir = path.join(os.tmpdir(), 'jsreport', 'temp', 'docsRepo')

export default async function pull(docsPath = 'views/learn/docs') {
return ['latest', '2.11.0']
// return ['latest', '2.11.0']
fs.rmdirSync(tmpRepoDir, { recursive: true })
fs.mkdirSync(tmpRepoDir, { recursive: true })

Expand Down

0 comments on commit 23eeaca

Please sign in to comment.