File: fix-for-coffescript.diff

package info (click to toggle)
grunt 1.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 688 kB
  • sloc: javascript: 3,775; makefile: 4
file content (23 lines) | stat: -rw-r--r-- 758 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Xavier Guimard <yadd@debian.org>
Date: Sat, 22 Nov 2025 09:43:47 +0100
Subject: fix coffeescript path

Forwarded: no
Last-Update: 2020-09-06
---
 lib/grunt.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/grunt.js b/lib/grunt.js
index 0253333..a191e45 100644
--- a/lib/grunt.js
+++ b/lib/grunt.js
@@ -7,7 +7,7 @@ var path = require('path');
 try {
   // Note: grunt no longer depends on CoffeeScript, it will only use it if it is intentionally
   // installed in the project.
-  require('coffeescript/register');
+  require('coffee-script/register');
 } catch (e) {
   // This is fine, and will cause no problems so long as the user doesn't load .coffee files.
   // Print a useful error if we attempt to load a .coffee file.