diff --git a/npm-cli/scripts/vendor-template.js b/npm-cli/scripts/vendor-template.js index 6f3031ea..0bf6bf32 100644 --- a/npm-cli/scripts/vendor-template.js +++ b/npm-cli/scripts/vendor-template.js @@ -4,7 +4,7 @@ const path = require("path"); const cp = require("child_process"); const util = require("util"); -let tag = "0.1.0-alpha.20"; +let tag = "0.1.0-alpha.21"; let url = `https://github.com/esy/pesy-reason-template/archive/${tag}.zip`; let downloadAs = "template.zip"; let extractedDirName = `pesy-reason-template-${tag}`; @@ -33,7 +33,7 @@ let fetch = (url) => { } else { return downloadFromHTTPStream( response, - path.resolve(templateDir, zipFile) + path.resolve(templateDir, zipFile), ); } }); @@ -61,15 +61,15 @@ let main = () => { `Extracting (entering: ${path.resolve( __dirname, "..", - templateDir - )})...` + templateDir, + )})...`, ); return Promise.resolve( cp .execSync("unzip -o template.zip", { cwd: path.resolve(__dirname, "..", templateDir), }) - .toString() + .toString(), ); } }) diff --git a/npm-cli/src/DefaultTemplate.re b/npm-cli/src/DefaultTemplate.re index ade9b2e4..ee8188f9 100644 --- a/npm-cli/src/DefaultTemplate.re +++ b/npm-cli/src/DefaultTemplate.re @@ -4,7 +4,7 @@ let path = Path.resolve([| dirname, "templates", - "pesy-reason-template-0.1.0-alpha.20", /* Must be the same as ./script/vendor-template.js */ + "pesy-reason-template-0.1.0-alpha.21", /* Must be the same as ./script/vendor-template.js */ |]); let ciPath = Path.resolve([|dirname, "templates", "ci"|]);