mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Check if toml is file
This commit is contained in:
parent
01e8db4a78
commit
cfb442324c
1 changed files with 1 additions and 6 deletions
|
|
@ -14,11 +14,6 @@ export async function downloadStorkToml () {
|
|||
|
||||
apiUrl.pathname = storkTomlPath.replace('/static', '')
|
||||
|
||||
console.log('apiUrl', apiUrl)
|
||||
|
||||
// await axios( apiUrl.toString() )
|
||||
|
||||
|
||||
const response = await axios({
|
||||
method: "get",
|
||||
url: apiUrl.toString(),
|
||||
|
|
@ -28,6 +23,6 @@ export async function downloadStorkToml () {
|
|||
|
||||
// Get toml file stats
|
||||
const stats = await fs.stat( storkTomlPath )
|
||||
console.log('TOML Stats', storkTomlPath, stats)
|
||||
console.log('TOML is file', storkTomlPath, stats.isFile())
|
||||
// console.log('TOML Stats', stats)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue