Pārlūkot izejas kodu

:poop: :poop: :poop: :poop: genius me

░░░░░░░░░░░░░░░░░░░▄▄▄▄▄▄░░░░░░░░░
░░░░░░░░░░░░█▀█▄▄▀▀░░░░░░▀█▄░░░░░░
░░░░░░░█▀▀▀▀░░░░░░░░░░░░░░░░▀▄▄▄▄░
░░░░░▄▄▀░░░▄█░░░░░░░░░░░░░░░░▄▄██▄
░░░░░█░░▄█▀░░▀▀▀▀▀▄▄░░░░░░░▄▄█░▀█░
░░░░░█░▄▀░░░░░░░░░░░▀▀▀▀▄▄███░░░▀▄
░░░░░▀▄█▄███▄▄░░░▄▄▄▄░░░░▄▀░░░░░░█
░░░░░░█▄█▀██▀░░░░█▀▄▄▀░░█░░░░░░░█▀
░░░░░██░██▀░░░░░▄█▄███░░█░░░░░░░█░
░░░▄▄█▀█▄░░▄▄▄▄░░█░░░░▄▀░░░░░░░█░░
░▄▀░░███▄░░▀▀░▀░░░░░▄█▄░░░░░░░█▀░░
█░░░░█░█▄▄▄▄▄▄▄░░░░░█▀███░░░░░█░░░
█░░░░██████▀▀▀█░░░░░░██░█▄▄▄▄▄█░░░
░░░░░██░▄██▀▀██░█░░░▄▀██▀░░░░▀▀▀▄░
░░░░░█▀██░░▄███░█░░░█▀░░░░░░░░░░░█
░░░░░░▄█▀▀▀██▀░░░░▄▀░░░░░░░░░░░░░▀
░░░░░░▀▄░░░░░░░░▄▀░░░░░░░░░░░░░░░░
░░░░░░░░█▄▀▀▀▄▀▀░░░░░░░░░░░░░░░░░░
jomo 10 gadi atpakaļ
vecāks
revīzija
2a13d1e1c5
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      modules/cache.js

+ 1 - 1
modules/cache.js

@@ -31,7 +31,7 @@ function update_file_date(hash) {
     fs.exists(path, function(exists) {
       if (exists) {
         var date = new Date();
-        fs.utimes("path", date, date, function(err){
+        fs.utimes(path, date, date, function(err){
           if (err) {
             console.error(err);
           }