module: don't require fs several times
authorRobert Kowalski <rok@kowalski.gd>
Thu, 3 Jul 2014 20:39:29 +0000 (22:39 +0200)
committerFedor Indutny <fedor@indutny.com>
Mon, 7 Jul 2014 10:40:22 +0000 (13:40 +0300)
commit46ccb201cb41b2979ce4127c67935cbf0932e15c
treea662eb8973665a5adc27ad42f711b85da559e6d1
parentdf205360f5cdf3310a69748e74c636ec011d2e64
module: don't require fs several times

As we are going to need fs in any case, just require it at the
beginning of the file.

Signed-off-by: Fedor Indutny <fedor@indutny.com>
lib/module.js