From bb26fe2915b60317fa792ea6b04e981dbab90be1 Mon Sep 17 00:00:00 2001 From: jamon Date: Thu, 3 Oct 2013 09:19:40 -0500 Subject: [PATCH] fixed not passing tests due to not requiring 'os' before use --- src/cp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cp.js b/src/cp.js index 9fb99e7..141d8e3 100644 --- a/src/cp.js +++ b/src/cp.js @@ -1,6 +1,7 @@ var fs = require('fs'); var path = require('path'); var common = require('./common'); +var os = require('os'); // Buffered file copy, synchronous // (Using readFileSync() + writeFileSync() could easily cause a memory overflow