doc: fix code syntax
authorDan Dascalescu <ddascalescu+github@gmail.com>
Thu, 12 Feb 2015 07:25:01 +0000 (23:25 -0800)
committercjihrig <cjihrig@gmail.com>
Fri, 13 Feb 2015 18:37:25 +0000 (13:37 -0500)
Add a ';' to the end of a function call in documentation.

PR-URL: https://github.com/joyent/node/pull/9198
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
doc/api/fs.markdown

index 71685f8..fe78082 100644 (file)
@@ -29,7 +29,7 @@ Here is the synchronous version:
 
     var fs = require('fs');
 
-    fs.unlinkSync('/tmp/hello')
+    fs.unlinkSync('/tmp/hello');
     console.log('successfully deleted /tmp/hello');
 
 With the asynchronous methods there is no guaranteed ordering. So the