瀏覽代碼

Remove deprecated theme references

Kevin van Zonneveld 9 年之前
父節點
當前提交
e123fbe5bd
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      website/update.js

+ 0 - 7
website/update.js

@@ -1,15 +1,8 @@
 var fs            = require('fs')
 var version       = require('../package.json').version
-var themeconfPath = 'themes/uppy/_config.yml'
 var configPath    = '_config.yml'
-var themeconfig   = fs.readFileSync(themeconfPath, 'utf-8')
 var config        = fs.readFileSync(configPath, 'utf-8')
 
-fs.writeFileSync(
-  themeconfPath,
-  themeconfig.replace(/uppy_version: .*/, 'uppy_version: ' + version)
-)
-
 // Inject current Uppy version and sizes in website's _config.yml
 var sizes = {};
 var locations = {