• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vuepress / vuepress-next / 7078126814

03 Dec 2023 04:42PM UTC coverage: 69.176% (+0.08%) from 69.092%
7078126814

push

github

meteorlxy
build: update dist file path

325 of 456 branches covered (0.0%)

Branch coverage included in aggregate %.

640 of 939 relevant lines covered (68.16%)

48.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/packages/core/src/app/resolveAppWriteTemp.ts
1
import { fs } from '@vuepress/utils'
2
import type { AppDir, AppWriteTemp } from '../types/index.js'
3

4
/**
5
 * Resolve write temp file util for vuepress app
6
 */
7
export const resolveAppWriteTemp = (dir: AppDir): AppWriteTemp => {
27✔
8
  const writeTemp: AppWriteTemp = async (file: string, content: string) => {
29✔
9
    const filePath = dir.temp(file)
×
10
    await fs.outputFile(filePath, content)
×
11
    return filePath
×
12
  }
13
  return writeTemp
29✔
14
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc