|
|
@ -9,12 +9,14 @@ try { |
|
|
|
|
|
|
|
console.log(start) |
|
|
|
console.log(fileName) |
|
|
|
var context = fs.readFileSync(fileName) |
|
|
|
fs.readFile(fileName, function (context) { |
|
|
|
|
|
|
|
var context_arr = context.split("\n") |
|
|
|
console.log(context) |
|
|
|
console.log(context_arr[start]) |
|
|
|
}) |
|
|
|
|
|
|
|
var context_arr = context.split("\n") |
|
|
|
console.log(context) |
|
|
|
console.log(context_arr[start]) |
|
|
|
} catch (error) { |
|
|
|
|
|
|
|
|
|
|
|
console.log(error) |
|
|
|
} |