From 6bad364c45b4d2d2c93b2d396f08259e1576a175 Mon Sep 17 00:00:00 2001 From: Tim Hostetler <6970899+thostetler@users.noreply.github.com> Date: Thu, 11 Feb 2021 17:54:46 -0500 Subject: [PATCH] make scripts executable --- scripts/{create-react-widget.js => create-react-widget} | 2 ++ scripts/{draft-release.js => draft-release} | 2 ++ 2 files changed, 4 insertions(+) rename scripts/{create-react-widget.js => create-react-widget} (95%) mode change 100644 => 100755 rename scripts/{draft-release.js => draft-release} (98%) mode change 100644 => 100755 diff --git a/scripts/create-react-widget.js b/scripts/create-react-widget old mode 100644 new mode 100755 similarity index 95% rename from scripts/create-react-widget.js rename to scripts/create-react-widget index 34557db11..e86b86adb --- a/scripts/create-react-widget.js +++ b/scripts/create-react-widget @@ -1,3 +1,5 @@ +#!/usr/bin/env node + if (process.argv.length === 2) { console.error('Expected at least one argument!'); process.exit(1); diff --git a/scripts/draft-release.js b/scripts/draft-release old mode 100644 new mode 100755 similarity index 98% rename from scripts/draft-release.js rename to scripts/draft-release index 164f85557..951748e49 --- a/scripts/draft-release.js +++ b/scripts/draft-release @@ -1,3 +1,5 @@ +#!/usr/bin/env node + const { promisify } = require('util'); const semver = require('semver'); const exec = promisify(require('child_process').exec);