index.js
//Writes the manifest in the working directory
Writes the manifest in the working directory
Writes the manifest in the working directory
function writeManifest(manifest, callback, projectPath) {
        fs.writeFile((projectPath || path.resolve(rootPath)) + "/manifest.json", JSON.stringify(manifest), function (err) {
            if (callback) {
                callback(err)
            };
        });
    }
function writeManifest ( manifest , callback , projectPath ) { fs . writeFile ( ( projectPath || path . resolve ( rootPath ) ) + "/manifest.json" , JSON . stringify ( manifest ) , function ( err ) { if ( callback ) { callback ( err ) } ; } ) ; }
Writes the manifest in the working directory
Writes the manifest in the working directory