diff --git a/index.js b/index.js index bb50925..1360b51 100644 --- a/index.js +++ b/index.js @@ -11,7 +11,7 @@ function initializeProject() { console.log('Dorky project already initialized. Remove .dorky folder to reinitialize.') } else { fs.mkdirSync('.dorky'); - fs.writeFileSync('.dorky/metadata.json', JSON.stringify({})); + fs.writeFileSync('.dorky/metadata.json', JSON.stringify({'files': []})); if (fs.existsSync('.dorkyignore')) { fs.rmdirSync('.dorky'); console.log('Dorky project already initialized. Remove .dorkyignore file to reinitialize.');