From b007456bc579870079b7940620f6956f14abc474 Mon Sep 17 00:00:00 2001 From: Ali Ijaz Sheikh Date: Tue, 1 Aug 2017 17:33:33 -0700 Subject: [PATCH] fix: add missing hash-bang --- src/cli.ts | 17 ++++++++++++++++- src/init.ts | 15 +++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/src/cli.ts b/src/cli.ts index 7349a9e3..e85ed63c 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -1,4 +1,19 @@ - +#!/usr/bin/env node +/** + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import * as meow from 'meow'; import * as updateNotifier from 'update-notifier'; import {init} from './init'; diff --git a/src/init.ts b/src/init.ts index 4bf6be67..071c1ce7 100644 --- a/src/init.ts +++ b/src/init.ts @@ -1,3 +1,18 @@ +/** + * Copyright 2017 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ import * as cp from 'child_process'; import * as fs from 'fs'; import * as inquirer from 'inquirer';