Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1 from aravindavk/master

Added path.join to avoid error in Linux machines, OS Temp path in Linux didn't returned the / at the end
  • Loading branch information...
commit 3500e6c33d2b95eab67c48a0d095c883fe138a80 2 parents 5d47b2c + 5f3568e
@swaroopch authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  index.js
View
3  index.js
@@ -2,8 +2,9 @@ $(function() {
var os = require("os");
var fs = require("fs");
var exec = require("exec");
+ var path = require('path');
- var tmpSourceFile = os.tmpDir() + "kalam.txt";
+ var tmpSourceFile = path.join(os.tmpDir(), "kalam.txt");
function render() {
Please sign in to comment.
Something went wrong with that request. Please try again.