Add kick() function, currently does nothing
authorNick Downing <nick@ndcode.org>
Tue, 4 Dec 2018 11:44:03 +0000 (22:44 +1100)
committerNick Downing <nick@ndcode.org>
Tue, 4 Dec 2018 11:44:03 +0000 (22:44 +1100)
BuildCache.js
package.json

index 0c7520f..f29e9bf 100644 (file)
@@ -99,4 +99,8 @@ BuildCache.prototype.get = async function(key, once) {
   return value
 }
 
+BuildCache.prototype.kick = function() {
+  // not yet implemented
+}
+
 module.exports = BuildCache
index af0f21a..d887064 100644 (file)
@@ -12,6 +12,8 @@
     "compiler"
   ],
   "homepage": "https://www.ndcode.org",
+  "author": "Nick Downing <nick@ndcode.org>",
+  "license": "MIT",
   "repository": {
     "type": "git",
     "url": "https://git.ndcode.org/public/build_cache.git"
@@ -22,8 +24,5 @@
   "main": "BuildCache.js",
   "directories": {},
   "dependencies": {},
-  "devDependencies": {},
-  "scripts": {},
-  "author": "Nick Downing <nick@ndcode.org>",
-  "license": "MIT"
+  "devDependencies": {}
 }