mirror of
https://github.com/nodejs/node.git
synced 2025-05-13 07:34:30 +00:00

PR-URL: https://github.com/iojs/io.js/pull/1573 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
7 lines
183 B
JavaScript
7 lines
183 B
JavaScript
var init = require('../init-package-json.js')
|
|
var dir = process.cwd()
|
|
|
|
init(dir, 'file that does not exist', function (err, data) {
|
|
if (!err) console.log('written successfully')
|
|
})
|